aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-04-13 04:23:25 +0800
committerarved <arved@FreeBSD.org>2003-04-13 04:23:25 +0800
commite0093295f65944046300dbbef936f12d83a88e04 (patch)
tree167b3ef127b27f2c835b10f2ac23a02a23642dc4 /games
parent64f6eaf082a4edfef5cc8dd0f8566b943160db63 (diff)
downloadfreebsd-ports-gnome-e0093295f65944046300dbbef936f12d83a88e04.tar.gz
freebsd-ports-gnome-e0093295f65944046300dbbef936f12d83a88e04.tar.zst
freebsd-ports-gnome-e0093295f65944046300dbbef936f12d83a88e04.zip
Certain games need libmad for audio output, make scummvm depend on
mad. Bump PORTREVISION PR: 50870 Submitted by: maintainer
Diffstat (limited to 'games')
-rw-r--r--games/scummvm/Makefile7
-rw-r--r--games/scummvm/files/patch-sound::mixer.h11
2 files changed, 4 insertions, 14 deletions
diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile
index 3322175ccbea..8db7e5bf9b0a 100644
--- a/games/scummvm/Makefile
+++ b/games/scummvm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scummvm
PORTVERSION= 0.3.0b
+PORTREVISION= 1
CATEGORIES= games emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,7 +16,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}-src
MAINTAINER= flynn@energyhq.homeip.net
COMMENT= Free implementation of LucasArts S.C.U.M.M. interpreter
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
+LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
+ mad.1:${PORTSDIR}/audio/mad
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-0.3.0
@@ -32,8 +34,7 @@ pre-patch:
${WRKSRC}/backends/sdl/build.rules
post-configure:
- @${REINPLACE_CMD} -e 's@-lmad@@g; \
- s@:= -g -O@+= ${CFLAGS}@' \
+ @${REINPLACE_CMD} -e 's@:= -g -O@+= ${CFLAGS}@' \
${WRKSRC}/Makefile
do-install:
diff --git a/games/scummvm/files/patch-sound::mixer.h b/games/scummvm/files/patch-sound::mixer.h
deleted file mode 100644
index 35b749684e18..000000000000
--- a/games/scummvm/files/patch-sound::mixer.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- sound/mixer.h.orig Wed Jan 1 13:21:10 2003
-+++ sound/mixer.h Wed Jan 1 13:21:41 2003
-@@ -25,6 +25,8 @@
-
- #include <stdio.h>
-
-+#undef USE_MAD
-+
- #ifdef USE_MAD
- #include <mad.h>
- #endif