Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  2 Jan 2004 08:39:43 +0800 (CST)
From:      Yen-Ming Lee <leeym@utopia.leeym.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60803: fix port: devel/portlint
Message-ID:  <20040102003943.5AD183EA278@utopia.leeym.com>
Resent-Message-ID: <200401020040.i020eL8T003845@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60803
>Category:       ports
>Synopsis:       fix port: devel/portlint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 01 16:40:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2-RC FreeBSD 5.2-RC #7: Thu Dec 18 09:21:26 CST 2003 root@utopia.leeym.com:/mnt3/obj/usr/src/sys/UTOPIA i386


	
>Description:

Many ports install *.so files, such as some p5-* or www/mod_*,
but INSTALLS_SHLIB is needed only when installing lib*.so.

>How-To-Repeat:
	
>Fix:

	

--- portlint.diff begins here ---
Index: src/portlint.pl
===================================================================
RCS file: /home/pcvs/ports/devel/portlint/src/portlint.pl,v
retrieving revision 1.50
diff -u -r1.50 portlint.pl
--- src/portlint.pl	27 Dec 2003 00:45:20 -0000	1.50
+++ src/portlint.pl	2 Jan 2004 00:23:04 -0000
@@ -660,7 +660,7 @@
 				"please use USE_LIBTOOL in Makefile if possible");
 		}
 
-		if ($_ =~ /\.so(\.\d+)?$/ && $makevar{INSTALLS_SHLIB} eq '') {
+		if ($_ =~ /lib[^\/]+\.so(\.\d+)?$/ && $makevar{INSTALLS_SHLIB} eq '') {
 			&perror("WARN: $file [$.]: installing shared libraries, ".
 				"please define INSTALLS_SHLIB as appropriate");
 		}
--- portlint.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040102003943.5AD183EA278>