aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-12-18 14:47:42 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-12-18 14:47:42 +0000
commit2587bf29cb7dffd309f8147cd765d6f22c80bb89 (patch)
treeeb3e32ad2e2507d42b7c211ef5fedee2799b2b8c /x11-toolkits
parent4d7ada4a1fdfe2b2e4334f0ead1a5958f301fb68 (diff)
downloadports-2587bf29cb7dffd309f8147cd765d6f22c80bb89.tar.gz
ports-2587bf29cb7dffd309f8147cd765d6f22c80bb89.zip
Back in -fPIC. On some platforms, its absence causes the build to fail
for ports which link (although statically) against plib. Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=151489
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/plib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile
index 55eba88d0200..46e65288726d 100644
--- a/x11-toolkits/plib/Makefile
+++ b/x11-toolkits/plib/Makefile
@@ -7,7 +7,7 @@
PORTNAME= plib
PORTVERSION= 1.8.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-toolkits
MASTER_SITES= http://plib.sourceforge.net/dist/
@@ -18,6 +18,7 @@ USE_X_PREFIX= yes
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+CXXFLAGS+= -fPIC
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${X11BASE}/lib ${PTHREAD_LIBS}"