diff options
author | ben <ben> | 2005-12-31 16:28:40 +0000 |
---|---|---|
committer | ben <ben> | 2005-12-31 16:28:40 +0000 |
commit | bbd76eba0d1036702ee9bbab06f305072d9a9ce0 (patch) | |
tree | 5ef5e5f4917f64ba0b87724304ad034494375c50 /textproc/groff | |
parent | 6b14fb7dbaa2ddc4bed774dc71fce617621e1652 (diff) | |
download | pkgsrc-bbd76eba0d1036702ee9bbab06f305072d9a9ce0.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
Move fix from Makefile to options.mk, so it is only used when the x11
option is enabled.
Diffstat (limited to 'textproc/groff')
-rw-r--r-- | textproc/groff/Makefile | 6 | ||||
-rw-r--r-- | textproc/groff/options.mk | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile index 2548d27ae81..e0d2111257c 100644 --- a/textproc/groff/Makefile +++ b/textproc/groff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2005/12/31 14:40:38 ben Exp $ +# $NetBSD: Makefile,v 1.33 2005/12/31 16:28:40 ben Exp $ # DISTNAME= groff-1.19.2 @@ -24,10 +24,6 @@ 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 diff --git a/textproc/groff/options.mk b/textproc/groff/options.mk index 1e3598cecec..83cb84301d6 100644 --- a/textproc/groff/options.mk +++ b/textproc/groff/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2005/12/09 20:40:56 wiz Exp $ +# $NetBSD: options.mk,v 1.2 2005/12/31 16:28:40 ben Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.groff PKG_SUPPORTED_OPTIONS= x11 @@ -12,6 +12,10 @@ CONFIGURE_ARGS+= --with-appresdir=${PREFIX}/lib/X11/app-defaults PLIST_SRC= PLIST.x11 PLIST .include "../../mk/xaw.buildlink3.mk" .include "../../mk/x11.buildlink3.mk" +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "Interix" +CONFIGURE_ENV+= X_EXTRA_LIBS=-lXext +.endif .else CONFIGURE_ARGS+= --without-x .endif |