ports/92585: Don't warn about libtool archives for KDE ports.

Michael Nottebrock lofi at FreeBSD.org
Tue Jan 31 07:40:13 UTC 2006


>Number:         92585
>Category:       ports
>Synopsis:       Don't warn about libtool archives for KDE ports.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 31 07:40:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Michael Nottebrock
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD vm-kiste 5.4-STABLE FreeBSD 5.4-STABLE #1: Sun Oct 16 18:16:21 CEST 2005 root at kiste:/usr/obj/usr/src/sys/KISTE-UP i386


	
>Description:
	Portlint in maintainer mode warns about libtool archives in pkg-plist, these are re-
	quired for correct operation in KDE application however. The attached patch disables
	the warning if USE_KDELIBS_VER is present in the port's Makefile.

>How-To-Repeat:
	
>Fix:

	

--- portlint.pl.diff begins here ---
Index: portlint.pl
===================================================================
RCS file: /home/pcvs/ports/devel/portlint/src/portlint.pl,v
retrieving revision 1.83
diff -u -r1.83 portlint.pl
--- portlint.pl	22 Jan 2006 00:45:00 -0000	1.83
+++ portlint.pl	31 Jan 2006 07:04:17 -0000
@@ -176,7 +176,7 @@
 	PKGDIR COMMENT DESCR PLIST PKGCATEGORY PKGINSTALL PKGDEINSTALL
 	PKGREQ PKGMESSAGE MD5_FILE .CURDIR INSTALLS_SHLIB USE_AUTOTOOLS
 	INDEXFILE PKGORIGIN CONFLICTS PKG_VERSION PKGINSTALLVER
-	PLIST_FILES OPTIONS INSTALLS_OMF
+	PLIST_FILES OPTIONS INSTALLS_OMF USE_KDELIBS_VER
 );
 
 my $cmd = join(' -V ', "make $makeenv MASTER_SITE_BACKUP=''", @varlist);
@@ -667,7 +667,7 @@
 				"for more details.");
 		}
 
-		if ($_ =~ /\.la$/ && $makevar{USE_AUTOTOOLS} =~ 'libtool') {
+		if ($_ =~ /\.la$/ && $makevar{USE_AUTOTOOLS} =~ 'libtool' && !defined($makevar{USE_KDELIBS_VER})) {
 			&perror("WARN: $file [$.]: installing libtool archives, ".
 				"please use USE_AUTOTOOLS in Makefile if possible.  ".
 				"See http://www.FreeBSD.org/gnome/docs/porting.html ".
--- portlint.pl.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list