From 14471a8c270bc9570b018f4252c67b27b4fb0f08 Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 21 Apr 2007 14:15:59 +0000 Subject: .so -> .sl substitution --- mk/plist/shlib-som.awk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mk/plist') 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 } -- cgit v1.2.3