From d3c108e26d73397d39310f4fa75fae47c9e6bef9 Mon Sep 17 00:00:00 2001 From: skrll Date: Fri, 18 May 2001 16:23:20 +0000 Subject: Make sure that all ELF symlinks gets removed from the PLIST when doing a.out automatic shlib handling. The offending symlink is created when using the, somewhat strange, libtool -release option. Reported by David Brownlee on tech-pkg. Tested by myself and David. --- mk/bsd.pkg.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 47865dc5c7b..26ca6d3bcd2 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.741 2001/05/18 10:29:10 abs Exp $ +# $NetBSD: bsd.pkg.mk,v 1.742 2001/05/18 16:23:20 skrll Exp $ # # This file is in the public domain. # @@ -1897,6 +1897,9 @@ do-shlib-handling: links[linkc++] = $$0; \ sub("\.[0-9]+$$", ""); \ links[linkc++] = $$0; \ + if (sub("-[^-]+\.so$$", "\.so")) { \ + links[linkc++] = $$0; \ + } \ next \ } \ /.*\/lib[^\/]+\.so\.[0-9]+\.[0-9]+$$/ { \ @@ -1906,6 +1909,9 @@ do-shlib-handling: links[linkc++] = $$0; \ sub("\.[0-9]+$$", ""); \ links[linkc++] = $$0; \ + if (sub("-[^-]+\.so$$", "\.so")) { \ + links[linkc++] = $$0; \ + } \ next \ } \ { lines[NR] = $$0 } \ -- cgit v1.2.3