summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-02-13 14:15:39 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-02-13 14:15:39 +0000
commit69afce650750aedf9c53124ec02db23dfc801cf7 (patch)
tree84de071aa35807cdee547966569808a9191ec637 /audio
parentUpdate to 1.3.2.6. (diff)
- Fix build on i386
- Remove deprecated USE_REINPLACE - Remove files/patch-Makefile Notified by: kris via dosirak
Notes
Notes: svn path=/head/; revision=155936
Diffstat (limited to 'audio')
-rw-r--r--audio/gbsplay/Makefile3
-rw-r--r--audio/gbsplay/files/patch-Makefile20
2 files changed, 2 insertions, 21 deletions
diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile
index f012072a6fe4..a0f96c085cf4 100644
--- a/audio/gbsplay/Makefile
+++ b/audio/gbsplay/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gbsplay
PORTVERSION= 0.0.8
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.cgarbs.de/stuff/ \
http://download.berlios.de/gbsplay/ \
@@ -17,7 +18,6 @@ PKGNAMEPREFIX?=
MAINTAINER= ehaupt@FreeBSD.org
COMMENT?= Emulates the sound hardware of the Nintendo Game Boy(TM)
-USE_REINPLACE= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_GETTEXT= yes
@@ -49,6 +49,7 @@ CONFIGURE_ARGS+= --disable-nas
.endif
post-patch: gbsplay-post-patch
+ @${REINPLACE_CMD} -e 's|^\(default.*\)test|\1|' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e \
's|/usr/local/include|${LOCALBASE}/include|; \
s|/usr/local/lib|${LOCALBASE}/lib|; \
diff --git a/audio/gbsplay/files/patch-Makefile b/audio/gbsplay/files/patch-Makefile
deleted file mode 100644
index 77fb4019f7cd..000000000000
--- a/audio/gbsplay/files/patch-Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig Thu Feb 9 14:30:53 2006
-+++ Makefile Thu Feb 9 14:31:22 2006
-@@ -229,7 +229,7 @@
- TESTOPTS := -r 44100 -t 30 -f 0 -g 0 -T 0
-
- test: gbsplay
-- @MD5=`LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./gbsplay -E b -o stdout $(TESTOPTS) examples/nightmode.gbs 1 | md5sum | cut -f1 -d\ `; \
-+ @MD5=`LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./gbsplay -E b -o stdout $(TESTOPTS) examples/nightmode.gbs 1 | md5`; \
- EXPECT="3e0b21573e742101581b503da3ddf2f5"; \
- if [ "$$MD5" = "$$EXPECT" ]; then \
- echo "Bigendian output ok"; \
-@@ -239,7 +239,7 @@
- echo " Got: $$MD5" ; \
- exit 1; \
- fi
-- @MD5=`LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./gbsplay -E l -o stdout $(TESTOPTS) examples/nightmode.gbs 1 | md5sum | cut -f1 -d\ `; \
-+ @MD5=`LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH ./gbsplay -E l -o stdout $(TESTOPTS) examples/nightmode.gbs 1 | md5`; \
- EXPECT="3e540a0bddc00cb1e0b7c4bf1a3708d7"; \
- if [ "$$MD5" = "$$EXPECT" ]; then \
- echo "Littleendian output ok"; \