summaryrefslogtreecommitdiff
path: root/audio/xmms-crossfade
diff options
context:
space:
mode:
authorwiz <wiz>2007-12-09 13:39:39 +0000
committerwiz <wiz>2007-12-09 13:39:39 +0000
commitf0abb23f5cb83923e97f646706eadbf23e643491 (patch)
treeb4ee453638382b9dfebe7edc76d2a6eebabc71da /audio/xmms-crossfade
parent6e6c39c614edc1e02c686283fac209bf5ba295a2 (diff)
downloadpkgsrc-f0abb23f5cb83923e97f646706eadbf23e643491.tar.gz
Tell configure script to disable oss support if pkgsrc doesn't find it.
Addresses build problem on Sparc Solaris reported by Raymond Meyer on pkgsrc-users.
Diffstat (limited to 'audio/xmms-crossfade')
-rw-r--r--audio/xmms-crossfade/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/xmms-crossfade/Makefile b/audio/xmms-crossfade/Makefile
index 3f2b238576f..6a394fcae06 100644
--- a/audio/xmms-crossfade/Makefile
+++ b/audio/xmms-crossfade/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2006/10/04 20:44:20 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2007/12/09 13:39:39 wiz Exp $
#
DISTNAME= xmms-crossfade-0.2.9
@@ -21,4 +21,8 @@ MAKE_ENV+= OSS_DEFS=${OSS_DEFS:Q}
.include "../../audio/xmms/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
+.if ${OSS_TYPE} == "none"
+CONFIGURE_ARGS+= --disable-oss
+.endif
+
.include "../../mk/bsd.pkg.mk"