aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk12/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
index 0feb142287e7..b6ff64d00c49 100644
--- a/x11-toolkits/gtk12/Makefile
+++ b/x11-toolkits/gtk12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtk
PORTVERSION= 1.2.10
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gtk+
@@ -24,17 +24,14 @@ USE_GNOME= glib12
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS= --disable-ltlibs --release-suffix
-CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale
+CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale \
+ --with-xinput=xfree
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X_CFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= gtk12-config.1
-.if defined(WITH_XINPUT)
-CONFIGURE_ARGS+= --with-xinput=xfree
-.endif
-
pre-extract:
.if !defined(WITH_XINPUT)
@${ECHO_MSG} "You can enable support for XInput by defining WITH_XINPUT."