Certain games need libmad for audio output, make scummvm depend on

mad. Bump PORTREVISION

PR:		50870
Submitted by:	maintainer
This commit is contained in:
Tilman Keskinoz 2003-04-12 20:23:25 +00:00
parent 49065e4d59
commit 3b3b37e9fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78817
4 changed files with 8 additions and 28 deletions

View file

@ -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:

View file

@ -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

View file

@ -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:

View file

@ -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