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
commit81d73a847b92c647780b139ad60144860010790c (patch)
treec351d7069e9059450cbe55d82858d96994020d86 /sysutils/xcdroast
parentf64b4298c953961862409c229c895ba6d51f8ec9 (diff)
downloadpkgsrc-81d73a847b92c647780b139ad60144860010790c.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