summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-08-29 18:58:19 +0000
committertrevor <trevor@FreeBSD.org>2001-08-29 18:58:19 +0000
commit213ec80a0b2d3eb80d1525287775a292b66c8347 (patch)
tree7f3802251fe4211fe7c2f5d1e2306cb06e1f368b
parent7f6e2e8b3aff3cdd2ec2f200915d9bcc606ec391 (diff)
downloadFreeBSD-ports-213ec80a0b2d3eb80d1525287775a292b66c8347.zip
FreeBSD-ports-213ec80a0b2d3eb80d1525287775a292b66c8347.tar.gz
Use PTHREAD_CFLAGS and PTHREAD_LIBS to "follow the ways of bentoism".
Submitted by: Patrick Li <pat@databits.net> PR: 29596
-rw-r--r--audio/snd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index b76e0f3..d831dba 100644
--- a/audio/snd/Makefile
+++ b/audio/snd/Makefile
@@ -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
OpenPOWER on IntegriCloud