summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2005-12-31 14:40:38 +0000
committerben <ben@pkgsrc.org>2005-12-31 14:40:38 +0000
commitd71da55403c14423dffd07bdd95b33669f0bd984 (patch)
tree2c124f50f9474a15721a49659ced638e0fad819e
parent2e521ca2531843093c52202ce9b49bf35227b272 (diff)
downloadpkgsrc-d71da55403c14423dffd07bdd95b33669f0bd984.tar.gz
When building on Interix, add Xext to X_EXTRA_LIBS. The xditview
program requires Xaw, which requires the Xlib shape routines, which on Interix are in Xext. http://www.faqs.org/faqs/x-faq/part6/section-27.html
-rw-r--r--textproc/groff/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile
index 7badb6ec5b3..2548d27ae81 100644
--- a/textproc/groff/Makefile
+++ b/textproc/groff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2005/12/09 20:40:56 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2005/12/31 14:40:38 ben Exp $
#
DISTNAME= groff-1.19.2
@@ -24,6 +24,10 @@ INFO_FILES= groff
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Interix"
+CONFIGURE_ENV+= X_EXTRA_LIBS=-lXext
+.endif
+
.if defined(PAPERSIZE)
CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q}
.endif