summaryrefslogtreecommitdiffstats
path: root/devel/veepee
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-10-23 08:14:50 +0000
committersobomax <sobomax@FreeBSD.org>2000-10-23 08:14:50 +0000
commit5db5c54b12f4f3c03fd166a790d17453568cd2c6 (patch)
tree40669c805bee44b7b537dd53a91008ca216f7725 /devel/veepee
parent1ab194a3f934c463fad6385d9428397993ae39f8 (diff)
downloadFreeBSD-ports-5db5c54b12f4f3c03fd166a790d17453568cd2c6.zip
FreeBSD-ports-5db5c54b12f4f3c03fd166a790d17453568cd2c6.tar.gz
Attempt to fix breakage when building on ssl-enabled systems (add -lcrypto if
/usr/lib/libcrypto.a exists). Also add -lutil for glimmer which seems required to build it with Python2.0. Submitted by: bento
Diffstat (limited to 'devel/veepee')
-rw-r--r--devel/veepee/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/veepee/Makefile b/devel/veepee/Makefile
index d521a00..75c5ca4 100644
--- a/devel/veepee/Makefile
+++ b/devel/veepee/Makefile
@@ -19,9 +19,12 @@ LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
USE_XLIB= yes
USE_PYTHON= yes
USE_LIBTOOL= yes
-CONFIGURE_ENV= LDFLAGS="-pthread"
+CONFIGURE_ENV= LDFLAGS="-pthread ${PYTHON_LIBS}"
CONFIGURE_ARGS= --with-gd-includes=${LOCALBASE}/include/gd \
--disable-kde
+.if exists(/usr/lib/libcrypto.a)
+PYTHON_LIBS+= -lcrypto
+.endif
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g' \
OpenPOWER on IntegriCloud