From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 10 18:20:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6224A16A4CF for ; Fri, 10 Sep 2004 18:20:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3983443D39 for ; Fri, 10 Sep 2004 18:20:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8AIKOkE007115 for ; Fri, 10 Sep 2004 18:20:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8AIKO8Y007114; Fri, 10 Sep 2004 18:20:24 GMT (envelope-from gnats) Resent-Date: Fri, 10 Sep 2004 18:20:24 GMT Resent-Message-Id: <200409101820.i8AIKO8Y007114@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 404DC16A4CE; Fri, 10 Sep 2004 18:15:48 +0000 (GMT) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1B0E43D49; Fri, 10 Sep 2004 18:15:47 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 02CED3EAD8B; Sat, 11 Sep 2004 02:15:47 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04209-10; Sat, 11 Sep 2004 02:15:43 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 999093EAD72; Sat, 11 Sep 2004 02:15:43 +0800 (CST) Message-Id: <20040910181543.999093EAD72@utopia.leeym.com> Date: Sat, 11 Sep 2004 02:15:43 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: marcus@FreeBSD.org Subject: ports/71564: [PATCH] devel/portlint: check USE_GETTEXT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 18:20:24 -0000 >Number: 71564 >Category: ports >Synopsis: [PATCH] devel/portlint: check USE_GETTEXT >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: Fri Sep 10 18:20:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-BETA3 i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 5.3-BETA3 FreeBSD 5.3-BETA3 #4: Fri Sep 10 05:12:41 CST 2004 >Description: - check if *.mo files installed without defining USE_GETTEXT (use bundled libintl may install other useless reference files: ports/71531) Port maintainer (marcus@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- portlint-2.6.7.patch begins here --- Index: src/portlint.pl =================================================================== RCS file: /home/pcvs/ports/devel/portlint/src/portlint.pl,v retrieving revision 1.63 diff -u -u -r1.63 portlint.pl --- src/portlint.pl 1 Sep 2004 04:13:32 -0000 1.63 +++ src/portlint.pl 10 Sep 2004 18:07:01 -0000 @@ -174,7 +174,7 @@ MASTER_SITES WRKDIR WRKSRC NO_WRKSUBDIR PATCHDIR SCRIPTDIR FILESDIR PKGDIR COMMENT DESCR PLIST PKGCATEGORY PKGINSTALL PKGDEINSTALL PKGREQ PKGMESSAGE MD5_FILE .CURDIR INSTALLS_SHLIB USE_LIBTOOL_VER - INDEXFILE PKGORIGIN CONFLICTS PKG_VERSION PKGINSTALLVER + INDEXFILE PKGORIGIN CONFLICTS PKG_VERSION PKGINSTALLVER USE_GETTEXT ); my $cmd = join(' -V ', "make $makeenv MASTER_SITE_BACKUP=''", @varlist); @@ -753,6 +753,11 @@ if ($_ =~ /^share\/examples\//) { &perror("WARN: $file [$.]: consider using EXAMPLESDIR macro"); + } + + if ($_ =~ /\.mo$/ && $makevar{USE_GETTEXT} eq '') { + &perror("WARN: $file [$.]: installing GNU message catalogs, ". + "please define USE_GETTEXT as appropriate."); } if ($_ =~ m#man/([^/]+/)?man([$manchapters])/([^\.]+\.[$manchapters])(\.gz)?$#) { --- portlint-2.6.7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: