summaryrefslogtreecommitdiff
path: root/sysutils/xcdroast
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-01-29 10:39:16 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-01-29 10:39:16 +0000
commit1cf42089b1188cdf54ca50311d21e8a79324f815 (patch)
treec351d7069e9059450cbe55d82858d96994020d86 /sysutils/xcdroast
parent0b73264382a427f3852f10a3c8dee3c1139faf2f (diff)
downloadpkgsrc-1cf42089b1188cdf54ca50311d21e8a79324f815.tar.gz
Don't link to libossaudio on !NetBSD platforms.
Diffstat (limited to 'sysutils/xcdroast')
-rw-r--r--sysutils/xcdroast/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/xcdroast/Makefile b/sysutils/xcdroast/Makefile
index 50f7fe3fcb5..6835c91cd1b 100644
--- a/sysutils/xcdroast/Makefile
+++ b/sysutils/xcdroast/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2004/01/24 15:06:58 grant Exp $
+# $NetBSD: Makefile,v 1.25 2004/01/29 10:39:16 xtraeme Exp $
DISTNAME= xcdroast-0.98alpha15
PKGNAME= xcdroast-0.98a15
@@ -28,7 +28,9 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
.if ${_OPSYS_HAS_OSSAUDIO} == "yes"
CFLAGS+= -DHAVE_OSS
+. if ${OPSYS} == "NetBSD"
AUDIO_LIBS= -lossaudio
+. endif
CONFIGURE_ENV+= AUDIO_LIBS=${AUDIO_LIBS}
.endif