Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/27/2001 17:30:16
Module Name:	pkgsrc
Committed By:	jlam
Date:		Fri Jul 27 14:30:16 UTC 2001

Modified Files:
	pkgsrc/mk: bsd.buildlink.mk

Log Message:
On ELF, the linker extracts the soname from the specified libraries to
place in the linked object, so even if the library is a symlink with a
different name from the true library, the correct soname is recorded in
the object.  On a.out, there is no soname, so the linker just records the
specified library name + major number into the object, which can cause the
incorrect library name to be recorded.  Fix this problem on a.out by
replacing the specified library names with the true library names in all of
the Makefiles in a post-configure step.  Additional files may be added to
the list of files on which replacement is done by setting REPLACE_LIBNAMES
in each package that needs it.

This should fix pkg/13402 by John Klos <john@sixgirls.org>.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 pkgsrc/mk/bsd.buildlink.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.