这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@shawnl
Copy link
Contributor

@shawnl shawnl commented Nov 12, 2017

#1218 makes distccd (server) useful. distcc (client) is useful immediately.

LIBS = @LIBS@

-DESTDIR =
+DESTDIR = /data/data/com.termux/files
Copy link
Member

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


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`
Copy link
Member

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?

Copy link
Contributor Author

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
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

@stephengroat stephengroat Dec 30, 2017

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
}

@ghost
Copy link

ghost commented Feb 5, 2019

Package is now available in unstable-packages repository.

pkg install unstable-repo
pkg install distcc

@ghost ghost closed this Feb 5, 2019
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants