summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk12/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-08-16 06:23:44 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-08-16 06:23:44 +0000
commit4c68f6802d0a94c7a24bfb72956413467cb8c5da (patch)
tree0150e980117f243a78ab13628fdf7a6c6b32f111 /x11-toolkits/gtk12/Makefile
parentcorrect DEPENDS: remove Mail::Internet, add URI (diff)
Add a knob for enabling XInput support.
Submitted by: Rocco Caputo <troc@netrus.net> (with some modification)
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*