ports/51403: little patch to multimedia/mplayer

Thomas E. Zander riggs at rrr.de
Fri Apr 25 02:40:05 UTC 2003


>Number:         51403
>Category:       ports
>Synopsis:       little patch to multimedia/mplayer
>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:   Thu Apr 24 19:40:03 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thomas E. Zander
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD trillian.mugiri.au 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #0: Sat Apr 12 13:01:51 WST 2003 root at trillian.mugiri.au:/usr/obj/usr/src/sys/TRILLIAN i386


	
>Description:
	This update fixes a not complete clean dependency on aalib.
	Suggested by Dennis Kjær Jensen <signout at signout.dk>
>How-To-Repeat:
>Fix:

Patch to multimedia/mplayer:

diff -ruN mplayer-old/Makefile mplayer/Makefile
--- mplayer-old/Makefile	Tue Apr 22 03:32:37 2003
+++ mplayer/Makefile	Fri Apr 25 10:11:52 2003
@@ -106,8 +106,12 @@
 # WITH_SVGALIB
 # default: autodetect
 #
+# WITH_AALIB
+# default: autodetect
+#
 # WITH_SDL
 # default: autodetect
+# (implies WITH_AALIB)
 #
 # WITH_ESOUND
 # default: autodetect
@@ -149,6 +153,7 @@
 
 PORTNAME=	mplayer
 PORTVERSION=	0.90.0.110
+PORTREVISION=	1
 CATEGORIES=	multimedia audio ipv6
 MASTER_SITES=	http://www1.mplayerhq.hu/MPlayer/releases/ \
 		http://www2.mplayerhq.hu/MPlayer/releases/ \
@@ -231,8 +236,13 @@
 WITH_SVGALIB=	yes
 .endif
 
+.if exists(${LOCALBASE}/lib/libaa.so.1)
+WITH_AALIB=	yes
+.endif
+
 .if exists(${LOCALBASE}/lib/libSDL-1.1.so.5)
 WITH_SDL=	yes
+WITH_AALIB=	yes
 .endif
 
 .if ${HAVE_GNOME:Mesound}!=""
@@ -346,6 +356,10 @@
 LIB_DEPENDS+=	vga.1:${PORTSDIR}/graphics/svgalib
 .endif
 
+.if defined(WITH_AALIB)
+LIB_DEPENDS+=	aa.1:${PORTSDIR}/graphics/aalib
+.endif
+
 .if defined(WITH_SDL)
 LIB_DEPENDS+=	SDL-1.1.5:${PORTSDIR}/devel/sdl12
 .endif
@@ -424,6 +438,9 @@
 .endif #WITHOUT_RUNTIME_CPUDETECTION
 .if !defined(WITH_SVGALIB)
 CONFIGURE_ARGS+=--disable-svga
+.endif
+.if !defined(WITH_AALIB)
+CONFIGURE_ARGS+=--disable-aa
 .endif
 .if !defined(WITH_SDL)
 CONFIGURE_ARGS+=--disable-sdl
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list