-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New package: distcc #1785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New package: distcc #1785
Conversation
packages/distcc/Makefile.am.patch
Outdated
| LIBS = @LIBS@ | ||
|
|
||
| -DESTDIR = | ||
| +DESTDIR = /data/data/com.termux/files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be /data/data/com.termux/files/usr?
If that is the case then it would also be better to use @TERMUX_PREFIX@, see for example this commit:
e0ab589
packages/distcc/build.sh
Outdated
|
|
||
| termux_step_configure () { | ||
| #the configure script checks if $PYTHON is executable | ||
| PYTHON=/etc/hosts sh ./configure -disable-Werror --without-libiberty --prefix=/usr --host `dpkg-architecture -q DEB_HOST_GNU_TYPE` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the same theme as above, --prefix=/usr can't be right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The two get combined and the files end up where they should be. I'll still submit a patch using @TERMUX_PREFIX@ hwoever
doesn't strictly need popt, but if the build environment contains\ popt it will build against it.
clang cross-compile --allow-private, better than allowing all
| TERMUX_PKG_VERSION=3.2-rc1 | ||
| TERMUX_PKG_REVISION=1 | ||
| TERMUX_PKG_SHA256=8cf474b9e20f5f3608888c6bff1b5f804a9dfc69ae9704e3d5bdc92f0487760a | ||
| TERMUX_PKG_SRCURL=https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/distcc/distcc-3.2rc1.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might want to consider morving to github's archives https://github.com/distcc/distcc/archive/v3.2rc1.tar.gz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github archives suffer from distcc/distcc#237
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about adding this step to get around
termux_step_pre_configure() {
./autogen.sh
}|
Package is now available in unstable-packages repository. |
#1218 makes distccd (server) useful. distcc (client) is useful immediately.