aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-06-28 10:28:03 +0800
committerahze <ahze@FreeBSD.org>2005-06-28 10:28:03 +0800
commit17683dffb1980ea8ff723f900054b1857a3d464f (patch)
tree9ad05aaeb3d0b7f15fb6848ccdfd0c08f72d2c6e
parentb481236be56fb8c3798baf21f8a786bf663d544a (diff)
downloadfreebsd-ports-graphics-17683dffb1980ea8ff723f900054b1857a3d464f.tar.gz
freebsd-ports-graphics-17683dffb1980ea8ff723f900054b1857a3d464f.tar.zst
freebsd-ports-graphics-17683dffb1980ea8ff723f900054b1857a3d464f.zip
- Fix build for users who have a old version of vlc installed
Reported by: irotas via irc.freenode.org/#FreeBSD-Gnome
-rw-r--r--multimedia/vlc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 0c723296ce6..9b21f408618 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -252,7 +252,7 @@ PLIST= ${WRKDIR}/plist
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include/vlc/ ${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include/src -I${WRKSRC}/include/vlc/ ${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --enable-ffmpeg \
@@ -403,6 +403,7 @@ BUILD_DEPENDS+= ${WX_CONFIG}:${PORTSDIR}/x11-toolkits/${WXGTK2_PORT}
RUN_DEPENDS+= ${WX_CONFIG}:${PORTSDIR}/x11-toolkits/${WXGTK2_PORT}
CONFIGURE_ARGS+=--enable-wxwindows
CONFIGURE_ENV+= WX_CONFIG="${X11BASE}/bin/${WX_CONFIG}"
+WITH_WXGTK= yes
.else
CONFIGURE_ARGS+=--disable-wxwindows
.endif