summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-12-14 23:42:10 +0000
committerjoerg <joerg@pkgsrc.org>2009-12-14 23:42:10 +0000
commit588eece769440ed795c5eb4f76036e62543673ad (patch)
treee9850f1c70193ab78bcb12af4db3c9e13d7d68f2 /editors
parent943e22c03d64dceddd34fbf8951b2eecc1de04bb (diff)
downloadpkgsrc-588eece769440ed795c5eb4f76036e62543673ad.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"