summaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-04-25 13:28:41 +0000
committernork <nork@FreeBSD.org>2003-04-25 13:28:41 +0000
commit87d2f4637215b73bdcad1fffa7515a40e467116a (patch)
tree987fd1c854cbf2b899b137a84860b8b50fc05ba9 /multimedia/mplayer
parent9de64e692247cf158ddb84eb6a6f960454f72b0a (diff)
downloadFreeBSD-ports-87d2f4637215b73bdcad1fffa7515a40e467116a.zip
FreeBSD-ports-87d2f4637215b73bdcad1fffa7515a40e467116a.tar.gz
Fix a not complete clean dependency on aalib.
PR: ports/51403 Submitted by: Thomas E. Zander <riggs@rrr.de> (maintainer) Suggested by: Dennis Kj_r Jensen <signout@signout.dk>
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 5856bf8..f22fbf3 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -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_MAD= yes
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 @@ CONFIGURE_ARGS+= --disable-mad
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
@@ -425,6 +439,9 @@ CONFIGURE_ARGS+=--disable-mmx2 --disable-sse
.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
.endif
OpenPOWER on IntegriCloud