pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/plist .so -> .sl substitution



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59ac89a475f2
branches:  trunk
changeset: 528126:59ac89a475f2
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Apr 21 14:15:59 2007 +0000

description:
.so -> .sl substitution

diffstat:

 mk/plist/shlib-som.awk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c725b72a2828 -r 59ac89a475f2 mk/plist/shlib-som.awk
--- a/mk/plist/shlib-som.awk    Sat Apr 21 13:54:46 2007 +0000
+++ b/mk/plist/shlib-som.awk    Sat Apr 21 14:15:59 2007 +0000
@@ -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
 }



Home | Main Index | Thread Index | Old Index