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
This commit is contained in:
Jean-Yves Lefort 2005-12-18 14:47:42 +00:00
parent 4d7ada4a1f
commit 2587bf29cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151489

View file

@ -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}"