Subject: Re: pkg/28926
To: , <pkg-manager@netbsd.org>
From: David H.Gutteridge <dhgutteridge@sympatico.ca>
List: pkgsrc-bugs
Date: 03/30/2005 22:26:35
This is a multi-part message in MIME format.

------=____1112239595941_qKxOrqU1RX
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

I'm new to autoconf, my suggested patch before wasn't so hot, this one's better.

Dave

--- configure.ac.orig	Sun Jan  9 20:18:28 2005
+++ configure.ac	Wed Mar 30 22:02:46 2005
@@ -68,8 +68,10 @@
 AC_SUBST(mtree)
 
 dnl Checks for libraries.
-AC_CHECK_LIB(db1, dbopen)
-AC_SEARCH_LIBS(tgetent, [termcap termlib curses ncurses])
+AC_CHECK_LIB(db1, dbopen, ,
+	AC_MSG_ERROR([no db1 library was found to link against.]))
+AC_SEARCH_LIBS(tgetent, [termcap termlib curses ncurses tinfo], ,
+	AC_MSG_ERROR([no relevant curses library was found to link against.]))
 
 dnl Checks for header files.
 AC_HEADER_STDC

------=____1112239595941_qKxOrqU1RX
Content-Transfer-Encoding: base64
Content-Type: null;
	name="replyAll"
Content-Disposition: inline;
	filename="replyAll"

U3lub3BzaXM6IHBrZ19pbnN0YWxsJ3MgY29uZmlndXJlIHNjcmlwdCBkb2Vzbid0IHdhcm4g
aWYgaXQgY2FuJ3QgZmluZCBsaWJyYXJpZXMgdG8gbGluayBhZ2FpbnN0DQoNClJlc3BvbnNp
YmxlLUNoYW5nZWQtRnJvbS1UbzogcGtnLW1hbmFnZXItPmpsYW0NClJlc3BvbnNpYmxlLUNo
YW5nZWQtQnk6IHdpekBuZXRic2Qub3JnDQpSZXNwb25zaWJsZS1DaGFuZ2VkLVdoZW46IFR1
ZSwgMTUgTWFyIDIwMDUgMTc6NDc6MzIgKzAwMDANClJlc3BvbnNpYmxlLUNoYW5nZWQtV2h5
Og0KamxhbSBhZ3JlZWQgdG8gaGFuZGxlIHRoaXMgb25lLg0KDQoNCg==
------=____1112239595941_qKxOrqU1RX--