summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-09-17 15:59:44 +0000
committerjoerg <joerg@pkgsrc.org>2006-09-17 15:59:44 +0000
commit4e66b15e02f00884ae685d0204959f980fe3ca95 (patch)
tree759f7fa2367ea981f1f60312be74edca50fef4ac /audio
parentad821573cf56328b98828d555a8d2dcfdff8f66a (diff)
downloadpkgsrc-4e66b15e02f00884ae685d0204959f980fe3ca95.tar.gz
Use LDFLAGS for playmus and playwave as well, otherwise e.g. rpath
entries for libX11 can get lost. Bump revision.
Diffstat (limited to 'audio')
-rw-r--r--audio/SDL_mixer/Makefile3
-rw-r--r--audio/SDL_mixer/patches/patch-ab17
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/SDL_mixer/Makefile b/audio/SDL_mixer/Makefile
index a57cad95271..633d9cf91da 100644
--- a/audio/SDL_mixer/Makefile
+++ b/audio/SDL_mixer/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2006/07/09 07:07:23 dsainty Exp $
+# $NetBSD: Makefile,v 1.32 2006/09/17 15:59:44 joerg Exp $
DISTNAME= SDL_mixer-1.2.7
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
diff --git a/audio/SDL_mixer/patches/patch-ab b/audio/SDL_mixer/patches/patch-ab
new file mode 100644
index 00000000000..5e07ed507ae
--- /dev/null
+++ b/audio/SDL_mixer/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.3 2006/09/17 15:59:44 joerg Exp $
+
+--- Makefile.in.orig 2006-09-17 17:53:06.000000000 +0000
++++ Makefile.in
+@@ -57,10 +57,10 @@ $(objects):
+ $(SHELL) $(auxdir)/mkinstalldirs $@
+
+ $(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
+- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
+
+ $(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
+- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
+
+ .PHONY: all depend install install-hdrs install-lib install-bin uninstall uninstall-hdrs uninstall-lib uninstall-bin clean distclean dist
+ depend: