summaryrefslogtreecommitdiff
path: root/net/zebra/patches
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-28 21:02:28 +0000
committerjlam <jlam>2001-05-28 21:02:28 +0000
commitc3246ec4705cbdfbbab770cfcb5a38f31c155411 (patch)
tree5479b8dc4637d90bcaade2213fe5e5a00cf07ab9 /net/zebra/patches
parent28ac073a31a8e443c4190d91c77e822fb86c67e2 (diff)
downloadpkgsrc-c3246ec4705cbdfbbab770cfcb5a38f31c155411.tar.gz
Use buildlink.mk to get readline dependency and use ${BUILDLINK_INCDIR}
and ${BUILDLINK_LIBDIR} to find headers and libraries. Also find tputs() in termcap first, before looking in tinfo, curses, then ncurses. Simplify the PLIST handling by using space-separated list of PLIST files in PLIST_SRC.
Diffstat (limited to 'net/zebra/patches')
-rw-r--r--net/zebra/patches/patch-ag13
1 files changed, 8 insertions, 5 deletions
diff --git a/net/zebra/patches/patch-ag b/net/zebra/patches/patch-ag
index fbf7c905b02..ad13789d55a 100644
--- a/net/zebra/patches/patch-ag
+++ b/net/zebra/patches/patch-ag
@@ -1,13 +1,16 @@
-$NetBSD: patch-ag,v 1.3 2001/01/11 05:34:16 itojun Exp $
+$NetBSD: patch-ag,v 1.4 2001/05/28 21:02:28 jlam Exp $
---- configure.in.orig Wed Jan 10 20:01:41 2001
-+++ configure.in Thu Jan 11 13:57:58 2001
-@@ -193,7 +193,7 @@
+--- configure.in.orig Fri Jan 19 18:26:13 2001
++++ configure.in Mon May 28 16:27:43 2001
+@@ -185,7 +185,10 @@
case "${enable_vtysh}" in
"yes") VTYSH="vtysh";
AC_DEFINE(VTYSH)
- AC_CHECK_LIB(tinfo, tputs, , AC_CHECK_LIB(ncurses, tputs))
-+ AC_CHECK_LIB(tinfo, tputs, , AC_CHECK_LIB(curses, tputs))
++ AC_CHECK_LIB(termcap, tputs, ,
++ AC_CHECK_LIB(tinfo, tputs, ,
++ AC_CHECK_LIB(curses, tputs, ,
++ AC_CHECK_LIB(ncurses, tputs))))
AC_CHECK_LIB(readline, main)
if test $ac_cv_lib_readline_main = no; then
AC_MSG_ERROR([vtysh needs libreadline but was not found on your system.])