aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-08-16 14:23:44 +0800
committermarcus <marcus@FreeBSD.org>2002-08-16 14:23:44 +0800
commit3d121c468ac87502a87b5530e1c6fe9f2a1adb25 (patch)
tree5e9110a501720c7e758bf54add430202c8b368b8 /x11-toolkits
parent0960d81b5a378b6d3806d2b546bb7ac1af0512f2 (diff)
downloadfreebsd-ports-gnome-3d121c468ac87502a87b5530e1c6fe9f2a1adb25.tar.gz
freebsd-ports-gnome-3d121c468ac87502a87b5530e1c6fe9f2a1adb25.tar.zst
freebsd-ports-gnome-3d121c468ac87502a87b5530e1c6fe9f2a1adb25.zip
Add a knob for enabling XInput support.
Submitted by: Rocco Caputo <troc@netrus.net> (with some modification)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk12/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
index 3bf2fadc6b3b..0feb142287e7 100644
--- a/x11-toolkits/gtk12/Makefile
+++ b/x11-toolkits/gtk12/Makefile
@@ -31,6 +31,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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."
+.endif
+
pre-build:
${RM} -rf ${WRKSRC}/docs/gtk.info*