Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2017 19:13:37 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441712 - head/Mk
Message-ID:  <201705251913.v4PJDb1E075089@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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