summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-04-22 19:54:44 +0000
committertnn <tnn@pkgsrc.org>2007-04-22 19:54:44 +0000
commit446bd88591af66397d7558f6c41de9ac766c7d0c (patch)
tree787de66cb7eb335512d9fa0b291491cf5ef75c8b /mk
parent5246b02f93a7c977d2ec7fdfc7a5983cfd106259 (diff)
downloadpkgsrc-446bd88591af66397d7558f6c41de9ac766c7d0c.tar.gz
rename shared modules from .so to .sl
Diffstat (limited to 'mk')
-rw-r--r--mk/plist/shlib-som.awk13
1 files changed, 9 insertions, 4 deletions
diff --git a/mk/plist/shlib-som.awk b/mk/plist/shlib-som.awk
index 0f4f552b9f3..b2016c9445b 100644
--- a/mk/plist/shlib-som.awk
+++ b/mk/plist/shlib-som.awk
@@ -1,15 +1,20 @@
-# $NetBSD: shlib-som.awk,v 1.2 2007/04/21 14:15:59 tnn Exp $
+# $NetBSD: shlib-som.awk,v 1.3 2007/04/22 19:54:44 tnn Exp $
#
###
### PLIST shlib filter for Spectrum Object Module format, SOM, on HP-UX.
###
-# 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.
+# Libtoolized packages don't need any special attention, but for others we need
+# to manually deal with the .sl library suffix.
+
+# Match shared libs
/.*\/lib[^\/]+\.so(\.[0-9]+)*$/ {
- sub("\.so$", ".sl");
sub("\.so\.", ".sl.");
}
+# Match dynamically loaded modules
+/.*\.so$/ {
+ sub("\.so$", ".sl");
+}
{
print
}