summaryrefslogtreecommitdiff
path: root/audio/jack-devel/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /audio/jack-devel/Makefile
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'audio/jack-devel/Makefile')
-rw-r--r--audio/jack-devel/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/audio/jack-devel/Makefile b/audio/jack-devel/Makefile
index 6f2e4765b9c..5a718c4b477 100644
--- a/audio/jack-devel/Makefile
+++ b/audio/jack-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/04/08 01:44:47 bjs Exp $
+# $NetBSD: Makefile,v 1.4 2008/04/12 22:42:58 jlam Exp $
#
DISTNAME= jack-audio-connection-kit-${JACK_VERSION}
@@ -50,28 +50,29 @@ CONFIGURE_ARGS+= --with-default-tmpdir=/dev/shm
CONFIGURE_ARGS+= --with-default-tmpdir=${JACKD_DEFAULT_TMPDIR:Q}
.endif
+PLIST_VARS= oss sunaudio
+
###
### XXX The sun driver is buggy on NetBSD right now. I hope to remedy
### this shortly.
###
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Solaris"
CONFIGURE_ARGS+= --enable-sun
-PLIST_SUBST+= SUN=""
+PLIST.sunaudio= yes
.else
CONFIGURE_ARGS+= --disable-sun
-PLIST_SUBST+= SUN="@comment "
.endif
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
CONFIGURE_ARGS+= --enable-oss
+PLIST.oss= yes
PLIST_SUBST+= OSS=""
MAKE_ENV+= LIBOSSAUDIO=${LIBOSSAUDIO:Q}
CFLAGS+= -DDEVOSSAUDIO=\"${DEVOSSAUDIO:U/dev/dsp}\"
.else
CONFIGURE_ARGS+= --disable-oss
-PLIST_SUBST+= OSS="@comment "
.endif