Subject: Re: Problem with shared library handling on 1.5 a.out?
To: David Brownlee <abs@netbsd.org>
From: Nick Hudson <skrll@netbsd.org>
List: tech-pkg
Date: 05/16/2001 13:06:40
This is a multi-part message in MIME format.
--------------95B38C75D8F4A2489DB6115E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Nick Hudson wrote:
> 

> The problem is definitely in the automatic shlib handling. I should have
> a fix soon.

Please try the attached patch.

Nick
-- 
aka skrll@netbsd.org, skrll@excite.co.uk
--------------95B38C75D8F4A2489DB6115E
Content-Type: text/plain; charset=us-ascii;
 name="bsd.pkg.mk.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bsd.pkg.mk.diff"

Index: bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.733
diff -c -r1.733 bsd.pkg.mk
*** bsd.pkg.mk	2001/05/09 10:25:38	1.733
--- bsd.pkg.mk	2001/05/16 12:05:03
***************
*** 1877,1882 ****
--- 1877,1885 ----
  					links[linkc++] = $$0;		\
  					sub("\.[0-9]+$$", "");		\
  					links[linkc++] = $$0;		\
+ 					if (sub("-[^-]+\.so$$", "\.so")) { \
+ 						links[linkc++] = $$0;	\
+ 					}				\
  					next				\
  				}					\
  				/.*\/lib[^\/]+\.so\.[0-9]+\.[0-9]+$$/ {	\
***************
*** 1886,1891 ****
--- 1889,1897 ----
  					links[linkc++] = $$0;		\
  					sub("\.[0-9]+$$", "");		\
  					links[linkc++] = $$0;		\
+ 					if (sub("-[^-]+\.so$$", "\.so")) { \
+ 						links[linkc++] = $$0;	\
+ 					}				\
  					next				\
  				}					\
  				{ lines[NR] = $$0 }			\


--------------95B38C75D8F4A2489DB6115E--