aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-14 21:07:04 +0800
committeredwin <edwin@FreeBSD.org>2002-11-14 21:07:04 +0800
commit9bac41ab4bb0cc3dbdb5c4d2fd6a59825a6fe0ee (patch)
tree971b29c992200e1ae89238dc12249554b2a8bf0c
parent83dafe55507af32fa83bc00e76592b1fe2ac0dfd (diff)
downloadfreebsd-ports-gnome-9bac41ab4bb0cc3dbdb5c4d2fd6a59825a6fe0ee.tar.gz
freebsd-ports-gnome-9bac41ab4bb0cc3dbdb5c4d2fd6a59825a6fe0ee.tar.zst
freebsd-ports-gnome-9bac41ab4bb0cc3dbdb5c4d2fd6a59825a6fe0ee.zip
Make devel/veepee building again.
Noticed on: bento
-rw-r--r--devel/veepee/Makefile8
-rw-r--r--devel/veepee/files/patch-ab13
2 files changed, 15 insertions, 6 deletions
diff --git a/devel/veepee/Makefile b/devel/veepee/Makefile
index 7e98949881ad..1adfadc041f7 100644
--- a/devel/veepee/Makefile
+++ b/devel/veepee/Makefile
@@ -14,8 +14,6 @@ DISTNAME= VeePee-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
-BROKEN= "Does not build"
-
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
USE_GNOMENG= yes
@@ -23,6 +21,7 @@ USE_GNOME= gnomelibs
USE_XLIB= yes
USE_PYTHON= yes
USE_LIBTOOL= yes
+USE_REINPLACE= yes
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS} ${PYTHON_LIBS}"
CONFIGURE_ARGS= --with-gd-includes=${LOCALBASE}/include/gd \
--disable-kde
@@ -31,11 +30,12 @@ PYTHON_LIBS+= -lssl -lcrypto
.endif
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
post-configure:
- @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
+ @${REINPLACE_CMD} -e \
+ 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
post-install:
diff --git a/devel/veepee/files/patch-ab b/devel/veepee/files/patch-ab
index 238662104f5a..43cdf45a3a18 100644
--- a/devel/veepee/files/patch-ab
+++ b/devel/veepee/files/patch-ab
@@ -1,5 +1,14 @@
---- configure.orig Sat Oct 21 18:09:50 2000
-+++ configure Sat Oct 21 18:11:01 2000
+--- configure.orig Fri Nov 15 00:03:54 2002
++++ configure Fri Nov 15 00:04:22 2002
+@@ -2764,7 +2764,7 @@
+ then
+ if test -f $vp_pyconfigdir/Makefile
+ then
+- with_extra_libs=`grep '^LIBS.*=' $vp_pyconfigdir/Makefile | sed 's/.*=//'`
++ with_extra_libs=`grep '^LIBS*=' $vp_pyconfigdir/Makefile | sed 's/.*=//'`
+ fi
+ fi
+
@@ -2777,7 +2777,7 @@
VP_GDLDFLAGS="-L$vp_gd_libdir"
VP_PYMODDIR=$vp_python_moddir