From ed3fd73887506f5b541d24f89a143f686f91c3d7 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Wed, 6 Mar 2002 04:14:08 +0000 Subject: 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 --- multimedia/mplayerxp/Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'multimedia/mplayerxp') diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile index eb1db506d420..fa5cee020e5f 100644 --- a/multimedia/mplayerxp/Makefile +++ b/multimedia/mplayerxp/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 -- cgit v1.2.3