summaryrefslogtreecommitdiff
path: root/inputmethod/libtabe
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-11-25 20:38:45 +0000
committerjoerg <joerg@pkgsrc.org>2009-11-25 20:38:45 +0000
commitb4859dc816ce83938d3712213a868742995e9228 (patch)
tree8a33e733fe96ca43ac76effd5be3a76bff975e2f /inputmethod/libtabe
parent5f649b884ee1c49801eaa2b5d7caa1ec0875920e (diff)
downloadpkgsrc-b4859dc816ce83938d3712213a868742995e9228.tar.gz
Needs --x-includes with modular Xorg.
Diffstat (limited to 'inputmethod/libtabe')
-rw-r--r--inputmethod/libtabe/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/inputmethod/libtabe/Makefile b/inputmethod/libtabe/Makefile
index bc6cd91b618..3cfca20c40f 100644
--- a/inputmethod/libtabe/Makefile
+++ b/inputmethod/libtabe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2009/11/24 11:15:14 obache Exp $
+# $NetBSD: Makefile,v 1.19 2009/11/25 20:38:45 joerg Exp $
#
DISTNAME= libtabe-0.2.6
@@ -33,6 +33,12 @@ post-install:
BUILDLINK_DEPMETHOD.libXt?= build
+.include "../../mk/bsd.prefs.mk"
+
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+= --x-includes=${PREFIX:Q}/include
+.endif
+
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
BDB_ACCEPTED= db2 db3 db4