svn commit: r313850 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Mon Mar 11 00:51:40 UTC 2013


Author: bdrewery
Date: Mon Mar 11 00:51:39 2013
New Revision: 313850
URL: http://svnweb.freebsd.org/changeset/ports/313850

Log:
  - Fix bsd.pbi.mk being processed twice when including both
    bsd.port.pre.mk and bsd.port.mk. This was causing duplicate
    target warnings.
  
  PR:		ports/176825
  Reported by:	crees@
  Approved by:	portmgr (miwi)

Modified:
  head/Mk/bsd.pbi.mk

Modified: head/Mk/bsd.pbi.mk
==============================================================================
--- head/Mk/bsd.pbi.mk	Sun Mar 10 23:20:00 2013	(r313849)
+++ head/Mk/bsd.pbi.mk	Mon Mar 11 00:51:39 2013	(r313850)
@@ -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 at FreeBSD.org
 
 _PBIMAKEPORT=	pbi_makeport
@@ -49,3 +52,5 @@ pbi-generate: check-pbimanager
 clean-pbi:
 	@${ECHO_MSG} "===> Cleaning PBI for ${PORTNAME}"
 	@${RM} -rf ${_PBIDIR}
+
+.endif


More information about the svn-ports-all mailing list