summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2004-01-13 09:49:26 +0000
committergrant <grant>2004-01-13 09:49:26 +0000
commite65c71e5cafe5d33299d7c902a1ba72421ef581a (patch)
treed07b36acbb0d914b1556bac71dbcbb40a62613e0
parentf6678fc4a43eb9977fa1a0046516c8c631cc3e25 (diff)
downloadpkgsrc-e65c71e5cafe5d33299d7c902a1ba72421ef581a.tar.gz
add a workaround to override the termcap.h test on Solaris. somehow,
configure picks up termcap.h from devel/ncurses, and later tries to use it and fails. allows this package to be built while devel/ncurses is installed.
-rw-r--r--devel/gtexinfo/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/gtexinfo/Makefile b/devel/gtexinfo/Makefile
index 69a75a3bbe3..1eca61fb671 100644
--- a/devel/gtexinfo/Makefile
+++ b/devel/gtexinfo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2003/08/09 10:44:43 seb Exp $
+# $NetBSD: Makefile,v 1.44 2004/01/13 09:49:26 grant Exp $
#
DISTNAME= texinfo-4.6
@@ -19,6 +19,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
+# workaround to avoid autoconf finding ncurses' termcap.h.
+# set this in MAKE_ENV and not CONFIGURE_ENV because the Makefile
+# runs 'config.status --recheck' in the build target.
+OPSYSVARS+= MAKE_ENV
+MAKE_ENV.SunOS+= ac_cv_header_termcap_h=no
+
INFO_FILES= info-stnd.info info.info texinfo
TEST_TARGET= check