aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-10-07 09:52:15 +0800
committerahze <ahze@FreeBSD.org>2006-10-07 09:52:15 +0800
commit89c7905a3e936073801512b77df4d455e0ad48b0 (patch)
tree41e6da620f4816082628d8d27f767be1bbedf890
parent12ba7e333c0251e0b88fc333099d0017feaabfd3 (diff)
downloadfreebsd-ports-gnome-89c7905a3e936073801512b77df4d455e0ad48b0.tar.gz
freebsd-ports-gnome-89c7905a3e936073801512b77df4d455e0ad48b0.tar.zst
freebsd-ports-gnome-89c7905a3e936073801512b77df4d455e0ad48b0.zip
- Disable gtk frontend of 4.x
Reported by: kris mail
-rw-r--r--multimedia/x264-devel/Makefile9
-rw-r--r--multimedia/x264/Makefile9
2 files changed, 10 insertions, 8 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index cf84152b05c1..4665f4e8e1ab 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/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"
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"