summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-01-29 10:39:16 +0000
committerxtraeme <xtraeme>2004-01-29 10:39:16 +0000
commiteac21b99fa2d767488cbff29a56b81d60c765ba5 (patch)
treec351d7069e9059450cbe55d82858d96994020d86 /sysutils
parent970fdbab35c9a2bc87ef8ef4f644e03ca8d1322e (diff)
downloadpkgsrc-eac21b99fa2d767488cbff29a56b81d60c765ba5.tar.gz
Don't link to libossaudio on !NetBSD platforms.
Diffstat (limited to 'sysutils')
-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