summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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