From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 11 00:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 95B04326 for ; Mon, 11 Mar 2013 00:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7758697D for ; Mon, 11 Mar 2013 00:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2B0e0ZZ068593 for ; Mon, 11 Mar 2013 00:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2B0e0iQ068592; Mon, 11 Mar 2013 00:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 11 Mar 2013 00:40:00 GMT Resent-Message-Id: <201303110040.r2B0e0iQ068592@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, Bryan Drewery Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0018F2A4 for ; Mon, 11 Mar 2013 00:37:38 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BC20C96E for ; Mon, 11 Mar 2013 00:37:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2B0bcTV068539 for ; Mon, 11 Mar 2013 00:37:38 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2B0bcRT068534 for FreeBSD-gnats-submit@freebsd.org; Mon, 11 Mar 2013 00:37:38 GMT (envelope-from bdrewery) Received: (qmail 12457 invoked from network); 10 Mar 2013 19:37:36 -0500 Received: from unknown (HELO test8.xzibition.com) (10.10.0.34) by sweb.xzibition.com with SMTP; 10 Mar 2013 19:37:36 -0500 Received: by test8.xzibition.com (sSMTP sendmail emulation); Sun, 10 Mar 2013 19:37:34 -0500 Message-Id: <201303110037.r2B0bcRT068534@freefall.freebsd.org> Date: Sun, 10 Mar 2013 19:37:34 -0500 From: Bryan Drewery To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/176825: [bsd.pbi.mk] Fix bsd.pbi.mk being included twice causing errors X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Bryan Drewery List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 00:40:00 -0000 >Number: 176825 >Category: ports >Synopsis: [bsd.pbi.mk] Fix bsd.pbi.mk being included twice causing errors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Mar 11 00:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Bryan Drewery >Release: FreeBSD 8.3-RELEASE-p5 i386 >Organization: >Environment: >Description: If a port incorrectly includes bsd.port.pre.mk and bsd.port.mk, the bsd.pbi.mk file is included and processed twice. "/home/bryan/freebsd/ports/Mk/bsd.pbi.mk", line 22: warning: duplicate script for target "check-pbimanager" ignored "/home/bryan/freebsd/ports/Mk/bsd.pbi.mk", line 47: warning: duplicate script for target "pbi-generate" ignored "/home/bryan/freebsd/ports/Mk/bsd.pbi.mk", line 48: warning: duplicate script for target "pbi-generate" ignored "/home/bryan/freebsd/ports/Mk/bsd.pbi.mk", line 49: warning: duplicate script for target "pbi-generate" ignored "/home/bryan/freebsd/ports/Mk/bsd.pbi.mk", line 52: warning: duplicate script for target "clean-pbi" ignored "/home/bryan/freebsd/ports/Mk/bsd.pbi.mk", line 53: warning: duplicate script for target "clean-pbi" ignored >How-To-Repeat: Include both bsd.port.pre.mk and bsd.port.mk, or even bsd.port.mk twice, run make describe. >Fix: --- bsd.pbi.mk.include.twice.txt begins here --- # svn status M bsd.pbi.mk Index: bsd.pbi.mk =================================================================== --- bsd.pbi.mk (revision 313830) +++ bsd.pbi.mk (working copy) @@ -2,6 +2,9 @@ # # Creates a PBI file from a port with just 'make pbi' # +.if !defined(_INCLUDE_PBI_MK) + +_INCLUDE_PBI_MK= yes PBI_MAINTAINER= kmoore@FreeBSD.org _PBIMAKEPORT= pbi_makeport @@ -49,3 +52,5 @@ clean-pbi: @${ECHO_MSG} "===> Cleaning PBI for ${PORTNAME}" @${RM} -rf ${_PBIDIR} + +.endif --- bsd.pbi.mk.include.twice.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: