Subject: Re: Problem with shared library handling on 1.5 a.out?
To: Nick Hudson <skrll@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 05/16/2001 13:06:46
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--------------95B38C75D8F4A2489DB6115E
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.NEB.4.33.0105161306122.354@localhost>
Running a 'make install' with this patch on a package free
system. "This may take some time" :)
--
David/absolute -- www.netbsd.org: No hype required --
On Wed, 16 May 2001, Nick Hudson wrote:
> Nick Hudson wrote:
> >
>
> > The problem is definitely in the automatic shlib handling. I should have
> > a fix soon.
>
> Please try the attached patch.
>
> Nick
>
--------------95B38C75D8F4A2489DB6115E
Content-Type: TEXT/PLAIN; CHARSET=us-ascii; NAME="bsd.pkg.mk.diff"
Content-ID: <Pine.NEB.4.33.0105161306123.354@localhost>
Content-Description:
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--