summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"