pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gtexinfo add a workaround to override the termca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efacd1f96d1d
branches:  trunk
changeset: 466214:efacd1f96d1d
user:      grant <grant%pkgsrc.org@localhost>
date:      Tue Jan 13 09:49:26 2004 +0000

description:
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.

diffstat:

 devel/gtexinfo/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r b98b38090c3c -r efacd1f96d1d devel/gtexinfo/Makefile
--- a/devel/gtexinfo/Makefile   Tue Jan 13 09:42:05 2004 +0000
+++ b/devel/gtexinfo/Makefile   Tue Jan 13 09:49:26 2004 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index