pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/groff > When building on Interix, add Xext to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f2652457db2
branches: trunk
changeset: 505207:4f2652457db2
user: ben <ben%pkgsrc.org@localhost>
date: Sat Dec 31 16:28:40 2005 +0000
description:
> 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:
textproc/groff/Makefile | 6 +-----
textproc/groff/options.mk | 6 +++++-
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r 48ab414c7bdd -r 4f2652457db2 textproc/groff/Makefile
--- a/textproc/groff/Makefile Sat Dec 31 15:20:59 2005 +0000
+++ b/textproc/groff/Makefile Sat Dec 31 16:28:40 2005 +0000
@@ -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 @@
.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 -r 48ab414c7bdd -r 4f2652457db2 textproc/groff/options.mk
--- a/textproc/groff/options.mk Sat Dec 31 15:20:59 2005 +0000
+++ b/textproc/groff/options.mk Sat Dec 31 16:28:40 2005 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index