Subject: check-shlibs
To: None <tech-pkg@netbsd.org>
From: Nick Hudson <nick@nthcliff.demon.co.uk>
List: tech-pkg
Date: 08/14/2000 18:42:13
This is a multi-part message in MIME format.
--------------CC71A2F8B1B02BABAF3BD362
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Does this actually work? Looking at bsd.pkg.mk there is no reference to
installed directory. Should the following patch be applied?

Nick
--------------CC71A2F8B1B02BABAF3BD362
Content-Type: text/plain; charset=us-ascii;
 name="patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch"

--- bsd.pkg.mk	Thu Jul 13 13:02:05 2000
+++ bsd.pkg.mk.new	Fri Jul 14 18:24:03 2000
@@ -1734,7 +1734,7 @@
 		shlibs=""; \
 	fi ; \
 	for i in $${bins} $${shlibs} ; do \
-		err=`( ldd $$i 2>&1 || true ) | ( grep "not found" || true )`; \
+		err=`( ldd ${PREFIX}/$$i 2>&1 || true ) | ( grep "not found" || true )`; \
 		if [ "${PKG_VERBOSE}" != "" ]; then \
 			echo "ldd $$i" ; \
 		fi ; \

--------------CC71A2F8B1B02BABAF3BD362--