pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/plist rename shared modules from .so to .sl
details: https://anonhg.NetBSD.org/pkgsrc/rev/c368cb04ab0a
branches: trunk
changeset: 528158:c368cb04ab0a
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Apr 22 19:54:44 2007 +0000
description:
rename shared modules from .so to .sl
diffstat:
mk/plist/shlib-som.awk | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r a4d482acf962 -r c368cb04ab0a mk/plist/shlib-som.awk
--- a/mk/plist/shlib-som.awk Sun Apr 22 18:56:22 2007 +0000
+++ b/mk/plist/shlib-som.awk Sun Apr 22 19:54:44 2007 +0000
@@ -1,14 +1,19 @@
-# $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.");
+}
+# Match dynamically loaded modules
+/.*\.so$/ {
sub("\.so$", ".sl");
- sub("\.so\.", ".sl.");
}
{
print
Home |
Main Index |
Thread Index |
Old Index