diff options
author | wiz <wiz> | 2003-03-24 10:50:47 +0000 |
---|---|---|
committer | wiz <wiz> | 2003-03-24 10:50:47 +0000 |
commit | 91dc9e0586a38cbf57019e6738047920c122c426 (patch) | |
tree | c9492430472ea207a161234f4fa4b925589996a3 | |
parent | f2e4c16b2f3f2b8b4a72cdd3d44a7bf9ecf98062 (diff) | |
download | pkgsrc-91dc9e0586a38cbf57019e6738047920c122c426.tar.gz |
Update to 1.2.4nb1:
Include patch by Soren Jacobsen in PR 20872 to make MIDI work.
-rw-r--r-- | audio/SDL-mixer/Makefile | 8 | ||||
-rw-r--r-- | audio/SDL-mixer/distinfo | 3 | ||||
-rw-r--r-- | audio/SDL-mixer/patches/patch-aa | 13 |
3 files changed, 22 insertions, 2 deletions
diff --git a/audio/SDL-mixer/Makefile b/audio/SDL-mixer/Makefile index 871576f1592..1d7f8f39a11 100644 --- a/audio/SDL-mixer/Makefile +++ b/audio/SDL-mixer/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2002/10/13 20:04:43 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2003/03/24 10:50:47 wiz Exp $ # DISTNAME= SDL_mixer-1.2.4 PKGNAME= ${DISTNAME:S/_/-/} +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/ @@ -20,6 +21,11 @@ BUILDLINK_DEPENDS.SDL= SDL>=1.2.2 CPPFLAGS+= -Dunix=1 +post-configure: + ${SED} -e "s|@PREFIX@|${PREFIX}|" ${WRKSRC}/timidity/config.h \ + > ${WRKSRC}/timidity/config.h.patched + ${MV} ${WRKSRC}/timidity/config.h.patched ${WRKSRC}/timidity/config.h + .include "../../audio/libogg/buildlink2.mk" .include "../../devel/gettext-lib/buildlink2.mk" .include "../../devel/smpeg/buildlink2.mk" diff --git a/audio/SDL-mixer/distinfo b/audio/SDL-mixer/distinfo index 5bb596d7f43..2f64acaf122 100644 --- a/audio/SDL-mixer/distinfo +++ b/audio/SDL-mixer/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2002/10/13 20:04:43 wiz Exp $ +$NetBSD: distinfo,v 1.3 2003/03/24 10:50:47 wiz Exp $ SHA1 (SDL_mixer-1.2.4.tar.gz) = 96c4d173382d3eaefa3a837c388d5f50f34a7d11 Size (SDL_mixer-1.2.4.tar.gz) = 955542 bytes +SHA1 (patch-aa) = dc8f4f72e347caaa3c470b3757dd124850ff3059 diff --git a/audio/SDL-mixer/patches/patch-aa b/audio/SDL-mixer/patches/patch-aa new file mode 100644 index 00000000000..a8228fe0d78 --- /dev/null +++ b/audio/SDL-mixer/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2003/03/24 10:50:48 wiz Exp $ + +--- timidity/config.h.orig Mon Mar 24 00:04:57 2003 ++++ timidity/config.h Mon Mar 24 00:06:06 2003 +@@ -206,7 +206,7 @@ + + /* You could specify a complete path, e.g. "/etc/timidity.cfg", and + then specify the library directory in the configuration file. */ +-#define CONFIG_FILE "timidity.cfg" ++#define CONFIG_FILE "@PREFIX@/share/timidity/timidity.cfg" + #ifdef __WIN32__ + #define DEFAULT_PATH "\\TIMIDITY" + #else |