summaryrefslogtreecommitdiff
path: root/audio/xmp/Makefile
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-05-16 17:11:30 +0000
committerdanw <danw@pkgsrc.org>2004-05-16 17:11:30 +0000
commit6f0bc4a51de7bbb535dbcc9af6889a0c9cb73474 (patch)
treeecdcc9e5fe25755d85511e3f990b61b92ab3cd69 /audio/xmp/Makefile
parente265c297a66a85d1084ce75b87e31380d46645a0 (diff)
downloadpkgsrc-6f0bc4a51de7bbb535dbcc9af6889a0c9cb73474.tar.gz
darwin fixes (plus some makefile patching to get rid of the irrelevant
but scary-looking errors at make install time)
Diffstat (limited to 'audio/xmp/Makefile')
-rw-r--r--audio/xmp/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
index 64c559d0455..6372707e216 100644
--- a/audio/xmp/Makefile
+++ b/audio/xmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/04/11 17:13:06 xtraeme Exp $
+# $NetBSD: Makefile,v 1.9 2004/05/16 17:11:30 danw Exp $
# FreeBSD: ports/audio/xmp/Makefile,v 1.5 2000/04/08 21:24:59 mharo Exp
#
@@ -27,6 +27,13 @@ EGDIR= ${PREFIX}/share/examples/xmp
CONF_FILES= ${EGDIR}/xmp-modules.conf ${PKG_SYSCONFDIR}/xmp-modules.conf
CONF_FILES+= ${EGDIR}/xmp.conf ${PKG_SYSCONFDIR}/xmp.conf
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+# XMP has no native Darwin support, so make it use the esound backend
+.include "../../audio/esound/buildlink3.mk"
+.endif
+
pre-install:
${INSTALL_DATA_DIR} ${EGDIR}