aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/x264/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/x264/Makefile')
-rw-r--r--multimedia/x264/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index cf84152b05c1..4665f4e8e1ab 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -37,6 +37,11 @@ CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC -I${LOCALBASE}/incl
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+WITHOUT_GPAC= yes
+WITHOUT_GTK2= yes
+.endif
+
.if !defined(WITHOUT_GTK2) || ${HAVE_GNOME:Mgtk20}!=""
USE_GETTEXT= yes
USE_GNOME= gtk20
@@ -46,10 +51,6 @@ PLIST_SUB+= GTK=""
PLIST_SUB+= GTK="@comment "
.endif
-.if ${OSVERSION} < 500000
-WITHOUT_GPAC= yes
-.endif
-
.if ${ARCH}=="i386"
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
MAKE_ENV+= ARCH_X86="1"