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:
parent
4d7ada4a1f
commit
2587bf29cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151489
1 changed files with 2 additions and 1 deletions
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue