1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +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:
Trevor Johnson 2001-08-29 18:58:19 +00:00
parent 4c1a76f69e
commit 9ab6a37c4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47108

View File

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