summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-03-06 04:14:08 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-03-06 04:14:08 +0000
commited3fd73887506f5b541d24f89a143f686f91c3d7 (patch)
treeb8c965337ec6c292e3e0a9e16553ba0041eeb408 /graphics
parentadd rebler 1.0 (diff)
o Tell configure about extra lib/include paths so as to improve
auto-detection o Enable WITH_SVGALIB if it is installed o Use direct rather than relative paths to reference port directories in Makefile o No PORTREVISION bump since there are no functional changes Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=55617
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mplayer/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/graphics/mplayer/Makefile b/graphics/mplayer/Makefile
index eb1db506d420..fa5cee020e5f 100644
--- a/graphics/mplayer/Makefile
+++ b/graphics/mplayer/Makefile
@@ -32,7 +32,9 @@ USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS=${PTHREAD_LIBS}
-CONFIGURE_ARGS= --disable-mencoder
+CONFIGURE_ARGS= --disable-mencoder \
+ --with-extralibdir=${LOCALBASE}/lib \
+ --with-extraincdir=${LOCALBASE}/include
MAN1= mplayer.1
MANCOMPRESSED= no
@@ -49,6 +51,10 @@ DOCFILES= DVB bugreports.html cd-dvd.html codecs-in.html \
WITH_DVD= yes
.endif
+.if exists(${LOCALBASE}/lib/libvga.so.1)
+WITH_SVGALIB= yes
+.endif
+
.if exists(${X11BASE}/bin/xanim)
WITH_XANIM= yes
.endif
@@ -64,8 +70,8 @@ RUN_DEPENDS+= ${SKIN_DETECTION_FILE}:${SKIN_PORT}
CONFIGURE_ARGS+= --enable-gui
-#SKIN_PORT= ${PORTSDIR}/graphics/mplayer-skins
-SKIN_PORT= ${.CURDIR}/../mplayer-skins
+SKIN_PORT= ${PORTSDIR}/graphics/mplayer-skins
+#SKIN_PORT= ${.CURDIR}/../mplayer-skins
SKIN_DETECTION_FILE!= ${MAKE} -f ${SKIN_PORT}/Makefile -V SKIN_DETECTION_FILE
.endif
@@ -115,8 +121,8 @@ RUN_DEPENDS+= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
CONFIGURE_ARGS+= --with-win32libdir=${LOCALBASE}/lib/win32
-#CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
-CODEC_PORT= ${.CURDIR}/../win32-codecs
+CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
+#CODEC_PORT= ${.CURDIR}/../win32-codecs
CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
.endif
.endif # ARCH == i386