ports/66891: update port: devel/portlint
Yen-Ming Lee
leeym at utopia.leeym.com
Wed May 19 15:40:21 UTC 2004
>Number: 66891
>Category: ports
>Synopsis: update 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: Wed May 19 08:40:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.2.1-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #94: Mon May 17 05:16:45 CST 2004 root at utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386
>Description:
portlint complains about 'please use USE_LIBTOOL in Makefile if possible' even if USE_LIBTOOL is set already.
>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.57
diff -u -r1.57 portlint.pl
--- src/portlint.pl 1 May 2004 02:25:00 -0000 1.57
+++ src/portlint.pl 19 May 2004 15:30:29 -0000
@@ -173,7 +173,7 @@
PKGNAMESUFFIX DISTNAME DISTFILES CATEGORIES MASTERDIR MAINTAINER
MASTER_SITES WRKDIR WRKSRC NO_WRKSUBDIR PATCHDIR SCRIPTDIR FILESDIR
PKGDIR COMMENT DESCR PLIST PKGCATEGORY PKGINSTALL PKGDEINSTALL
- PKGREQ PKGMESSAGE MD5_FILE .CURDIR INSTALLS_SHLIB
+ PKGREQ PKGMESSAGE MD5_FILE .CURDIR INSTALLS_SHLIB USE_LIBTOOL
);
my $cmd = join(' -V ', "make $makeenv MASTER_SITE_BACKUP=''", @varlist);
@@ -678,7 +678,7 @@
"disallowed.");
}
- if ($_ =~ /\.la$/) {
+ if ($_ =~ /\.la$/ && $makevar{USE_LIBTOOL} eq '') {
&perror("WARN: $file [$.]: installing libtool archives, ".
"please use USE_LIBTOOL in Makefile if possible");
}
--- portlint.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list