summaryrefslogtreecommitdiff
path: root/audio/xmp
diff options
context:
space:
mode:
authordanw <danw>2004-05-16 17:11:30 +0000
committerdanw <danw>2004-05-16 17:11:30 +0000
commite45ca6b13100321bf533c49f5766819c32db57ab (patch)
treeecdcc9e5fe25755d85511e3f990b61b92ab3cd69 /audio/xmp
parent6f999685b91a566c879f753ba13e3bc887ebffef (diff)
downloadpkgsrc-e45ca6b13100321bf533c49f5766819c32db57ab.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')
-rw-r--r--audio/xmp/Makefile9
-rw-r--r--audio/xmp/distinfo6
-rw-r--r--audio/xmp/patches/patch-ae11
-rw-r--r--audio/xmp/patches/patch-ag12
-rw-r--r--audio/xmp/patches/patch-ah13
5 files changed, 44 insertions, 7 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}
diff --git a/audio/xmp/distinfo b/audio/xmp/distinfo
index f38a41f9858..e740a038f60 100644
--- a/audio/xmp/distinfo
+++ b/audio/xmp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2003/09/22 09:30:03 tron Exp $
+$NetBSD: distinfo,v 1.6 2004/05/16 17:11:30 danw Exp $
SHA1 (xmp-2.0.4.tar.bz2) = 35c1578f2f6728aa2ec92f34ada050e328694167
Size (xmp-2.0.4.tar.bz2) = 314820 bytes
@@ -6,5 +6,7 @@ SHA1 (patch-aa) = e5ce08ae036f947c2486dcf5def72bc0a65a6600
SHA1 (patch-ab) = 9d4732f57cf045a3904b8d9627ccb866d39e0fb0
SHA1 (patch-ac) = 0efcb2f094f149c56da96a6ba7ba9a59ed06dc4d
SHA1 (patch-ad) = 7b2c1f5c10b4b8a766bcca7bc4d7d9f538e89db1
-SHA1 (patch-ae) = 251bd77372088b1e72a581c0c39e722aacb40a0e
+SHA1 (patch-ae) = e136083ec69df5b32cb741bb14173f58fa613574
SHA1 (patch-af) = 96743b9d31adec688a0bcab05bd8b32a9e162a54
+SHA1 (patch-ag) = 431875a9a1889e0c63620c04a78473116c090fae
+SHA1 (patch-ah) = d6119a1d0ef33bf58bd443b2f18d72cb9ea1956a
diff --git a/audio/xmp/patches/patch-ae b/audio/xmp/patches/patch-ae
index 65788fd6945..b359b676638 100644
--- a/audio/xmp/patches/patch-ae
+++ b/audio/xmp/patches/patch-ae
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.1 2002/12/22 17:05:52 jmmv Exp $
+$NetBSD: patch-ae,v 1.2 2004/05/16 17:11:30 danw Exp $
---- Makefile.rules.in.orig Sat Jan 20 02:51:53 2001
+--- Makefile.rules.in.orig Fri Jan 19 20:51:53 2001
+++ Makefile.rules.in
-@@ -7,12 +7,14 @@ DATE = Fri Jan 19 23:51:53 BRST 2001
+@@ -7,14 +7,16 @@ DATE = Fri Jan 19 23:51:53 BRST 2001
DEST_DIR=
prefix = $(DEST_DIR)@prefix@
exec_prefix= $(DEST_DIR)@prefix@
@@ -16,5 +16,8 @@ $NetBSD: patch-ae,v 1.1 2002/12/22 17:05:52 jmmv Exp $
-CFLAGS = -c @CFLAGS@ @DEFS@ @CINCS@
+CFLAGS = -c @CFLAGS@ @DEFS@ @CINCS@ -DETC_DIR=\"${ETC_DIR}\"
LD = @CC@
- LDFLAGS = -o$@ @LDFLAGS@
+-LDFLAGS = -o$@ @LDFLAGS@
++LDFLAGS = -o $@ @LDFLAGS@
RANLIB = @RANLIB@
+ INSTALL = @INSTALL@
+ LIBS = @LIBS@ $(XLIBS)
diff --git a/audio/xmp/patches/patch-ag b/audio/xmp/patches/patch-ag
new file mode 100644
index 00000000000..b55f3e25148
--- /dev/null
+++ b/audio/xmp/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1 2004/05/16 17:11:30 danw Exp $
+
+--- configure.orig Sat May 15 09:48:55 2004
++++ configure
+@@ -593,7 +593,6 @@ CINCS="${CPPFLAGS}"
+ PLUGIN=""
+
+
+-LDFLAGS=""
+
+
+ X_XMP="xxmp"
diff --git a/audio/xmp/patches/patch-ah b/audio/xmp/patches/patch-ah
new file mode 100644
index 00000000000..b2d9b4c0828
--- /dev/null
+++ b/audio/xmp/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2004/05/16 17:11:30 danw Exp $
+
+--- src/Makefile.orig Sat May 15 10:09:32 2004
++++ src/Makefile
+@@ -2,7 +2,7 @@
+
+ DFILES = Makefile
+ _DIRS = drivers include loaders player misc main
+-DDIRS = $(_DIRS) os2 xmms
++DDIRS = $(_DIRS)
+ CFILES =
+ DCFILES =
+