Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2013 23:53:58 GMT
From:      Eitan Adler <lists@eitanadler.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178271: Simplify bsd.port.subdir.mk
Message-ID:  <201304302353.r3UNrwFd063207@red.freebsd.org>
Resent-Message-ID: <201305010000.r41000b3064960@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178271
>Category:       ports
>Synopsis:       Simplify bsd.port.subdir.mk
>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:   Wed May 01 00:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304302353.r3UNrwFd063207>