svn commit: r441712 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Thu May 25 19:13:39 UTC 2017


Author: bapt
Date: Thu May 25 19:13:37 2017
New Revision: 441712
URL: https://svnweb.freebsd.org/changeset/ports/441712

Log:
  Fix issues with PACKAGES is set by a user with a ':' in the path
  
  Reported by:	dim
  Approved by:	portmgr (adamw)
  Differential Revision:	https://reviews.freebsd.org/D10847

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Thu May 25 19:08:56 2017	(r441711)
+++ head/Mk/bsd.port.mk	Thu May 25 19:13:37 2017	(r441712)
@@ -2497,6 +2497,7 @@ check-categories:
 PKGREPOSITORYSUBDIR?=	All
 PKGREPOSITORY?=		${PACKAGES}/${PKGREPOSITORYSUBDIR}
 .if exists(${PACKAGES})
+PACKAGES:=	${PACKAGES:S/:/\:/g}
 _HAVE_PACKAGES=	yes
 PKGFILE?=		${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
 .else


More information about the svn-ports-all mailing list