summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-03-06 04:14:08 +0000
committerlioux <lioux@FreeBSD.org>2002-03-06 04:14:08 +0000
commitcdb9b23da4108adf88115c40c341f4709432a343 (patch)
tree8f86473c47a80f643bb29f0ed213d3a84249dd62 /graphics
parent45ccaa34ab9016bff03e238c61e2b41cdfb0ec8e (diff)
downloadFreeBSD-ports-cdb9b23da4108adf88115c40c341f4709432a343.zip
FreeBSD-ports-cdb9b23da4108adf88115c40c341f4709432a343.tar.gz
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
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 eb1db50..fa5cee0 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
OpenPOWER on IntegriCloud