aboutsummaryrefslogtreecommitdiff
path: root/audio/sdl_mixer/Makefile
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-01-14 21:54:54 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-01-14 21:54:54 +0000
commit609c6db656f7f856d505354d509db157c6ecc9f2 (patch)
tree54982b2ffe3b0fad18290c25b6b9e9f96caf641f /audio/sdl_mixer/Makefile
parent95caad2e415d58f3ad0b8e6b29dbefac618a38ee (diff)
downloadports-609c6db656f7f856d505354d509db157c6ecc9f2.tar.gz
ports-609c6db656f7f856d505354d509db157c6ecc9f2.zip
- Enable stagedir support
Notes
Notes: svn path=/head/; revision=339726
Diffstat (limited to 'audio/sdl_mixer/Makefile')
-rw-r--r--audio/sdl_mixer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/sdl_mixer/Makefile b/audio/sdl_mixer/Makefile
index fe0e01c9c583..19735cde3ba2 100644
--- a/audio/sdl_mixer/Makefile
+++ b/audio/sdl_mixer/Makefile
@@ -14,7 +14,6 @@ COMMENT= A sample multi-channel audio mixer library
LICENSE= ZLIB
USE_AUTOTOOLS= libtool
-NO_STAGE= yes
USE_SDL= sdl
USES= gmake pathfix pkgconfig
GNU_CONFIGURE= yes
@@ -60,6 +59,8 @@ CONFIG_FILE= ${LOCALBASE}/lib/timidity/timidity.cfg
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|\($$(prefix)/libdata/pkgconfig\)|$$(DESTDIR)\1|' \
+ ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|%%CONFIG_FILE%%|${CONFIG_FILE}|g' \
${WRKSRC}/timidity/config.h