aboutsummaryrefslogtreecommitdiffstats
path: root/audio/snd/Makefile
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-08-30 02:58:19 +0800
committertrevor <trevor@FreeBSD.org>2001-08-30 02:58:19 +0800
commit213ec80a0b2d3eb80d1525287775a292b66c8347 (patch)
tree7f3802251fe4211fe7c2f5d1e2306cb06e1f368b /audio/snd/Makefile
parent7f6e2e8b3aff3cdd2ec2f200915d9bcc606ec391 (diff)
downloadfreebsd-ports-gnome-213ec80a0b2d3eb80d1525287775a292b66c8347.tar.gz
freebsd-ports-gnome-213ec80a0b2d3eb80d1525287775a292b66c8347.tar.zst
freebsd-ports-gnome-213ec80a0b2d3eb80d1525287775a292b66c8347.zip
Use PTHREAD_CFLAGS and PTHREAD_LIBS to "follow the ways of bentoism".
Submitted by: Patrick Li <pat@databits.net> PR: 29596
Diffstat (limited to 'audio/snd/Makefile')
-rw-r--r--audio/snd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index b76e0f3956ef..d831dbaf065a 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