summaryrefslogtreecommitdiff
path: root/audio/libmikmod/buildlink3.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-04 09:31:10 +0000
committerwiz <wiz@pkgsrc.org>2005-06-04 09:31:10 +0000
commitfd78c59622ad2a12875f973838c2ba130e4596f9 (patch)
tree051c1058e76a4faf70e952c5b64118580d9a9d3b /audio/libmikmod/buildlink3.mk
parent4bd8e51c6c22d5da99e1dfd6be0cd2960571d71f (diff)
downloadpkgsrc-fd78c59622ad2a12875f973838c2ba130e4596f9.tar.gz
On Linux, libmikmod also dynamically loads esound support.
Update conditional. Tested by reed@.
Diffstat (limited to 'audio/libmikmod/buildlink3.mk')
-rw-r--r--audio/libmikmod/buildlink3.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/libmikmod/buildlink3.mk b/audio/libmikmod/buildlink3.mk
index b538e9ad82c..f65d49910ab 100644
--- a/audio/libmikmod/buildlink3.mk
+++ b/audio/libmikmod/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2005/06/03 13:19:22 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2005/06/04 09:31:10 wiz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMIKMOD_BUILDLINK3_MK:= ${LIBMIKMOD_BUILDLINK3_MK}+
@@ -25,11 +25,10 @@ MAKEFLAGS+= PKG_BUILD_OPTIONS.libmikmod=${PKG_BUILD_OPTIONS.libmikmod:Q}
.endif
MAKEVARS+= PKG_BUILD_OPTIONS.libmikmod
-# On NetBSD, libmikmod dynamically loads esound, so there is
-# no library dependency
-# XXX: add cases for other OPSYS that do that!
+# On some platforms, libmikmod dynamically loads esound,
+# so there is no library dependency
.if !empty(PKG_BUILD_OPTIONS.libmikmod:Mesound) && \
- empty(OPSYS:MNetBSD)
+ empty(OPSYS:MNetBSD) && empty(OPSYS:MLinux)
. include "../../audio/esound/buildlink3.mk"
.endif