mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Use PTHREAD_CFLAGS and PTHREAD_LIBS to "follow the ways of bentoism".
Submitted by: Patrick Li <pat@databits.net> PR: 29596
This commit is contained in:
parent
4c1a76f69e
commit
9ab6a37c4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47108
@ -48,7 +48,9 @@ CONFIGURE_ARGS+= --with-gtk-extra
|
||||
CONFIGURE_ARGS+= --without-gui
|
||||
.endif
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
|
||||
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
MAKEFILE= makefile
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
|
Loading…
Reference in New Issue
Block a user