pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 According to the documentation on versio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1dad3bb744b4
branches: trunk
changeset: 469089:1dad3bb744b4
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Feb 19 18:39:27 2004 +0000
description:
According to the documentation on version numbering of shared libraries at:
http://fink.sourceforge.net/doc/porting/shared.php
It's okay to link against a name like "libqt.2.3.0.dylib" using
"-lqt.2.3.0", which means we never need to do anything more than just
strip the trailing ".dylib" from shared library names when converting from
a full path to "-L... -l...". This should fix PR 24402.
diffstat:
mk/buildlink3/gen-transform.sh | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (24 lines):
diff -r 2237dc8e64e9 -r 1dad3bb744b4 mk/buildlink3/gen-transform.sh
--- a/mk/buildlink3/gen-transform.sh Thu Feb 19 18:14:08 2004 +0000
+++ b/mk/buildlink3/gen-transform.sh Thu Feb 19 18:39:27 2004 +0000
@@ -1,6 +1,6 @@
#!@BUILDLINK_SHELL@
#
-# $NetBSD: gen-transform.sh,v 1.23 2004/02/12 20:29:34 jlam Exp $
+# $NetBSD: gen-transform.sh,v 1.24 2004/02/19 18:39:27 jlam Exp $
transform="@_BLNK_TRANSFORM_SEDFILE@"
untransform="@_BLNK_UNTRANSFORM_SEDFILE@"
@@ -234,12 +234,6 @@
s|\($2\)/lib\([^/$_sep]*\)\.so\.[0-9]*|-L\1 -l\2|g
s|\($2/[^$_sep]*\)/lib\([^/$_sep]*\)\.so|-L\1 -l\2|g
s|\($2\)/lib\([^/$_sep]*\)\.so|-L\1 -l\2|g
-s|\($2/[^$_sep]*\)/lib\([^/$_sep]*\)\.[0-9]*\.[0-9]*\.[0-9]*\.dylib|-L\1 -l\2|g
-s|\($2\)/lib\([^/$_sep]*\)\.[0-9]*\.[0-9]*\.[0-9]*\.dylib|-L\1 -l\2|g
-s|\($2/[^$_sep]*\)/lib\([^/$_sep]*\)\.[0-9]*\.[0-9]*\.dylib|-L\1 -l\2|g
-s|\($2\)/lib\([^/$_sep]*\)\.[0-9]*\.[0-9]*\.dylib|-L\1 -l\2|g
-s|\($2/[^$_sep]*\)/lib\([^/$_sep]*\)\.[0-9]*\.dylib|-L\1 -l\2|g
-s|\($2\)/lib\([^/$_sep]*\)\.[0-9]*\.dylib|-L\1 -l\2|g
s|\($2/[^$_sep]*\)/lib\([^/$_sep]*\)\.dylib|-L\1 -l\2|g
s|\($2\)/lib\([^/$_sep]*\)\.dylib|-L\1 -l\2|g
EOF
Home |
Main Index |
Thread Index |
Old Index