ports/50870: [Maintainer Update] enable audio/mad in games/scummvm

Miguel Mendez flynn at energyhq.homeip.net
Sat Apr 12 15:50:19 UTC 2003


>Number:         50870
>Category:       ports
>Synopsis:       [Maintainer Update] enable audio/mad in games/scummvm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 08:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
Uruk-hai ownz j00
>Environment:
System: FreeBSD isengard.energyhq.tk 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #0: Fri Apr 11 10:51:38 CEST 2003 root at isengard.energyhq.tk:/usr/obj/usr/src/sys/ISENGARD i386


	
>Description:
Certain games need libmad for proper audio output, make scummvm depend
on it. Bump portrevision accordingly.
>How-To-Repeat:
	
>Fix:

	

--- scummvm.diff begins here ---
diff -ruN scummvm.old/Makefile scummvm/Makefile
--- scummvm.old/Makefile	Fri Feb 21 13:05:53 2003
+++ scummvm/Makefile	Sat Apr 12 17:34:51 2003
@@ -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 @@
 MAINTAINER=	flynn at 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 @@
 		${WRKSRC}/backends/sdl/build.rules
 
 post-configure:
-	@${REINPLACE_CMD} -e 's at -lmad@@g; \
-			s@:= -g -O at += ${CFLAGS}@' \
+	@${REINPLACE_CMD} -e 's@:= -g -O at += ${CFLAGS}@' \
 		${WRKSRC}/Makefile
 
 do-install:
diff -ruN scummvm.old/files/patch-sound::mixer.h scummvm/files/patch-sound::mixer.h
--- scummvm.old/files/patch-sound::mixer.h	Wed Jan  1 22:32:43 2003
+++ scummvm/files/patch-sound::mixer.h	Thu Jan  1 01:00:00 1970
@@ -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
--- scummvm.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list