summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/farsight2/Pkgfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/farsight2/Pkgfile b/extra/farsight2/Pkgfile
index 56bc5b4d0..30704a3fa 100644
--- a/extra/farsight2/Pkgfile
+++ b/extra/farsight2/Pkgfile
@@ -13,6 +13,10 @@ source=(http://farsight.freedesktop.org/releases/farsight2/$name-$version.tar.gz
build() {
cd $name-$version
+
+ sed -i -e 's#python-config#python2-config#' python/Makefile.in
+ sed -i -e 's# # #' docs/libs/Makefile.in
+
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static \
@@ -20,5 +24,4 @@ build() {
--disable-valgrind
make
make DESTDIR=$PKG install
-}
-
+}