aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2005-12-17 12:40:53 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2005-12-17 12:40:53 +0000
commit3833f065b25f7118d6de80e0e0fbb58745980266 (patch)
tree0f37715d350d75795d1b09a02e6e23c0bc57182a /multimedia/vlc
parent918a2b3ca26efd181afee45b2089568ba3529e1e (diff)
downloadports-3833f065b25f7118d6de80e0e0fbb58745980266.tar.gz
ports-3833f065b25f7118d6de80e0e0fbb58745980266.zip
Notes
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 328e3e1a07dd..a3ccf4ca0469 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -277,10 +277,12 @@ CONFIGURE_ARGS+= --enable-ffmpeg \
MAN1= vlc.1 \
vlc-config.1
+.include <bsd.port.pre.mk>
+
.if defined(WITH_MOZILLA_PLUGIN) && !defined(WITHOUT_MOZILLA_PLUGIN)
### Remove comment when gnome 2.12 hits the streets.
#WITH_MOZILLA?= firefox
-.if ${WITH_MOZILLA}=="firefox"
+.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
BUILD_DEPENDS+= ${X11BASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
RUN_DEPENDS+= ${X11BASE}/libdata/pkgconfig/firefox-plugin.pc:${PORTSDIR}/www/firefox
@@ -297,7 +299,7 @@ CONFIGURE_ENV+= MOZILLA_CONFIG="${X11BASE}/lib/mozilla${HEADERS_SUFX}/mozilla-co
.endif
MOZILLA_SUFFIX=-mozilla
CONFIGURE_ARGS+=--enable-mozilla
-.if ${WITH_MOZILLA}=="mozilla-devel"
+.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="mozilla-devel"
HEADERS_SUFX= -devel
.else
HEADERS_SUFX=
@@ -313,8 +315,6 @@ WXGTK2_PORT= wxgtk26
CPPFLAGS+= -I${X11BASE}/include/wx-2.6/
.endif
-.include <bsd.port.pre.mk>
-
.if ${PERL_LEVEL} < 500800
BROKEN= "Does not compile with perl ${PERL_VERSION}"
.endif