Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 17:43:58 +0200 (CEST)
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50870: [Maintainer Update] enable audio/mad in games/scummvm
Message-ID:  <200304121543.h3CFhwbY022172@isengard.energyhq.tk>
Resent-Message-ID: <200304121550.h3CFoHr4084325@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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@-lmad@@g; \
-			s@:= -g -O@+= ${CFLAGS}@' \
+	@${REINPLACE_CMD} -e 's@:= -g -O@+= ${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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304121543.h3CFhwbY022172>