summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-28 01:27:11 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-28 01:27:11 -0300
commit652c41cc5fd8dc5f23ef6a6c93f488911e1054c7 (patch)
tree0a31e9bb2cf6e7a6331767647441b07141bec5dd
parenta4f85b5a8c5460995c83445460351846cde419f8 (diff)
distcc-3.1-1
Had sed the configure to use python2
-rw-r--r--community/distcc/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/distcc/PKGBUILD b/community/distcc/PKGBUILD
index 90ea9acfd..cff46c12d 100644
--- a/community/distcc/PKGBUILD
+++ b/community/distcc/PKGBUILD
@@ -10,8 +10,7 @@ arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/distcc/"
license=('GPL')
depends=('gcc' 'popt')
-makedepends=('gtk2' 'pkgconfig')
-optdepends=('gtk2: for distccmon-gnome')
+makedepends=('pkgconfig' 'python2')
backup=(etc/conf.d/distccd)
source=(http://distcc.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2
distccd
@@ -22,8 +21,10 @@ md5sums=('a1a9d3853df7133669fffec2a9aab9f3'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i "s/\(python2\).*$/\1/" configure
./configure --prefix=/usr \
- --with-gtk \
+ --disable-Werror \
+ --without-gtk \
--sysconfdir=/etc \
--mandir=/usr/share/man || return 1
make || return 1