summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg>2009-12-14 23:42:10 +0000
committerjoerg <joerg>2009-12-14 23:42:10 +0000
commitc2cb81a6b5f5db21f15ebb1a312b5e103c53eab0 (patch)
treee9850f1c70193ab78bcb12af4db3c9e13d7d68f2 /editors
parent7cf17d554e13ed7dd444d8c5938b4ffb25407e36 (diff)
downloadpkgsrc-c2cb81a6b5f5db21f15ebb1a312b5e103c53eab0.tar.gz
Needs --x-includes/--x-libraries for modular Xorg.
Diffstat (limited to 'editors')
-rw-r--r--editors/gnuserv/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/gnuserv/Makefile b/editors/gnuserv/Makefile
index 5cda8107d51..dc0fb1d81a6 100644
--- a/editors/gnuserv/Makefile
+++ b/editors/gnuserv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/08/06 01:44:51 minskim Exp $
+# $NetBSD: Makefile,v 1.13 2009/12/14 23:42:10 joerg Exp $
DISTNAME= gnuserv-3.12.7
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -22,5 +22,10 @@ post-install:
${INSTALL_DATA} $${FILE} $${FILE}c ${EMACS_LISPPREFIX}; \
done
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
+CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib
+.endif
+
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"