diff options
author | tnn <tnn@pkgsrc.org> | 2007-04-21 14:15:59 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-04-21 14:15:59 +0000 |
commit | b2d49fdea7b46a8c82a3d9875cd06f48b2dc5372 (patch) | |
tree | 6ad0de132b270cb4bc55f8e90755dce1ddc0ff4b /mk/plist | |
parent | 4176dd5c809e12e39f1c2b1604d06660df86f409 (diff) | |
download | pkgsrc-b2d49fdea7b46a8c82a3d9875cd06f48b2dc5372.tar.gz |
.so -> .sl substitution
Diffstat (limited to 'mk/plist')
-rw-r--r-- | mk/plist/shlib-som.awk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/plist/shlib-som.awk b/mk/plist/shlib-som.awk index ab8c788abe5..0f4f552b9f3 100644 --- a/mk/plist/shlib-som.awk +++ b/mk/plist/shlib-som.awk @@ -1,4 +1,4 @@ -# $NetBSD: shlib-som.awk,v 1.1 2007/04/19 23:13:42 tnn Exp $ +# $NetBSD: shlib-som.awk,v 1.2 2007/04/21 14:15:59 tnn Exp $ # ### ### PLIST shlib filter for Spectrum Object Module format, SOM, on HP-UX. @@ -6,6 +6,10 @@ # XXX: Nothing here yet. Libtoolized packages don't need any special attention, # but for others we need to manually deal with the .sl library suffix. +/.*\/lib[^\/]+\.so(\.[0-9]+)*$/ { + sub("\.so$", ".sl"); + sub("\.so\.", ".sl."); +} { print } |