diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-19 18:39:27 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-19 18:39:27 +0000 |
commit | bb61c3472487a037f85eeb43be00a7c2f80222ab (patch) | |
tree | 358d5794f891424e30d2e2e72d97893367f11361 /mk/buildlink3 | |
parent | abeb92536922a8dadecea2ddb08f90c0cf166fca (diff) | |
download | pkgsrc-bb61c3472487a037f85eeb43be00a7c2f80222ab.tar.gz |
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 (limited to 'mk/buildlink3')
-rw-r--r-- | mk/buildlink3/gen-transform.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mk/buildlink3/gen-transform.sh b/mk/buildlink3/gen-transform.sh index 389049d7c22..e63fde25def 100644 --- a/mk/buildlink3/gen-transform.sh +++ b/mk/buildlink3/gen-transform.sh @@ -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/[^$_sep]*\)/lib\([^/$_sep]*\)\.so\.[0-9]*|-L\1 -l\2|g 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 |