summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk12/Makefile')
-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*