diff options
author | grant <grant@pkgsrc.org> | 2003-07-09 13:11:01 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-07-09 13:11:01 +0000 |
commit | 88a03252d9da63432486bca31e941fbecf8e330b (patch) | |
tree | 03658e4b4b1873eaf21905c177ddf196b876cf25 /devel/gtexinfo | |
parent | 4e85e41fb2d8b5308307a831ca6ffe2a9db7cdf8 (diff) | |
download | pkgsrc-88a03252d9da63432486bca31e941fbecf8e330b.tar.gz |
force the configure script to look for ncurses *last* when looking
for a terminal library.
[in an ideal world, ncurses wouldn't even be listed, but according
to the comments in configure.ac, some Linux distributions don't have
libcurses, only libncurses, so it should stay.]
fixes a problem when building with an external gcc, since gcc, when
installed into /prefix, unconditionally searches /prefix/lib for
libraries at link time causing it to find libncurses in /prefix/lib
(the normal gcc ugliness). this leads to the runtime linker being
unable to find libncurses.
noted by gavan@, fix tested by gavan@ and myself.
Diffstat (limited to 'devel/gtexinfo')
-rw-r--r-- | devel/gtexinfo/distinfo | 4 | ||||
-rw-r--r-- | devel/gtexinfo/patches/patch-aj | 13 | ||||
-rw-r--r-- | devel/gtexinfo/patches/patch-ak | 13 |
3 files changed, 29 insertions, 1 deletions
diff --git a/devel/gtexinfo/distinfo b/devel/gtexinfo/distinfo index 48a182f934f..ec08f7d7096 100644 --- a/devel/gtexinfo/distinfo +++ b/devel/gtexinfo/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.14 2003/07/02 16:09:58 grant Exp $ +$NetBSD: distinfo,v 1.15 2003/07/09 13:11:01 grant Exp $ SHA1 (texinfo-4.6.tar.bz2) = 52103579a90d49229fb30968bbe4e55a502857d3 Size (texinfo-4.6.tar.bz2) = 1348113 bytes SHA1 (patch-ac) = bf22fe2b8920c88a357ce9c1202690ed291c5b92 SHA1 (patch-ad) = 1c998cdb8b0831e15eef7df6c4f8ef108455619e SHA1 (patch-ai) = 8a1e92497d3a6cd5dec50ec9e9cf35046d214c8c +SHA1 (patch-aj) = ccd515134e442e2ed5354c8151ed3dc8a3efaecd +SHA1 (patch-ak) = 54fceadde7649726f1595b2a9dda8225967c0a4a diff --git a/devel/gtexinfo/patches/patch-aj b/devel/gtexinfo/patches/patch-aj new file mode 100644 index 00000000000..1dd93875d40 --- /dev/null +++ b/devel/gtexinfo/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.3 2003/07/09 13:11:02 grant Exp $ + +--- configure.ac.orig Wed Jun 11 06:50:03 2003 ++++ configure.ac +@@ -77,7 +77,7 @@ AC_CANONICAL_BUILD + # rather ncurses. So we check for it. + TERMLIBS= + # Check for termlib before termcap because Solaris termcap needs libucb. +-TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo" ++TERMLIB_VARIANTS="curses termlib termcap terminfo ncurses" + for termlib in ${TERMLIB_VARIANTS}; do + AC_CHECK_LIB(${termlib}, tgetent, + [TERMLIBS="${TERMLIBS} -l${termlib}"; break]) diff --git a/devel/gtexinfo/patches/patch-ak b/devel/gtexinfo/patches/patch-ak new file mode 100644 index 00000000000..3cf9e4e5eb9 --- /dev/null +++ b/devel/gtexinfo/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1 2003/07/09 13:11:02 grant Exp $ + +--- configure.orig Wed Jun 11 06:51:21 2003 ++++ configure +@@ -6214,7 +6214,7 @@ build_os=`echo $ac_cv_build | sed 's/^\( + # rather ncurses. So we check for it. + TERMLIBS= + # Check for termlib before termcap because Solaris termcap needs libucb. +-TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo" ++TERMLIB_VARIANTS="curses termlib termcap terminfo ncurses" + for termlib in ${TERMLIB_VARIANTS}; do + as_ac_Lib=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh` + echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5 |