From nobody@FreeBSD.org  Tue Apr 30 23:53:59 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 3065986A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Apr 2013 23:53:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [69.147.83.34])
	by mx1.freebsd.org (Postfix) with ESMTP id 2147D1F74
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Apr 2013 23:53:59 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3UNrwRW063208
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Apr 2013 23:53:58 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r3UNrwFd063207;
	Tue, 30 Apr 2013 23:53:58 GMT
	(envelope-from nobody)
Message-Id: <201304302353.r3UNrwFd063207@red.freebsd.org>
Date: Tue, 30 Apr 2013 23:53:58 GMT
From: Eitan Adler <lists@eitanadler.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Simplify bsd.port.subdir.mk
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         178271
>Category:       ports
>Synopsis:       Simplify bsd.port.subdir.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bdrewery
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 01 00:00:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Thu Aug 08 10:55:47 CDT 2013
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:
There is no need to use exists/.include when .sinclude exists
>How-To-Repeat:

>Fix:
Index: Mk/bsd.port.subdir.mk
===================================================================
--- Mk/bsd.port.subdir.mk	(revision 316827)
+++ Mk/bsd.port.subdir.mk	(working copy)
@@ -155,9 +155,7 @@ INDEXDIR?=	${PORTSDIR}
 INDEXFILE?=	INDEX-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}
 
 # local customization of the ports tree
-.if exists(${.CURDIR}/Makefile.local)
-.include "${.CURDIR}/Makefile.local"
-.endif
+.sinclude "${.CURDIR}/Makefile.local"
 
 TARGETS+=	all
 TARGETS+=	build


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed May 1 00:00:13 UTC 2013 
Responsible-Changed-Why:  
bsd.port.subdir.mk is portmgr territory (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178271 
Responsible-Changed-From-To: portmgr->bdrewery 
Responsible-Changed-By: bdrewery 
Responsible-Changed-When: Thu Aug 8 10:55:47 CDT 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178271 
>Unformatted:
