Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2021 07:17:48 GMT
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bad84b3403f3 - main - Mk/bsd.port.mk: Ignore @ in path in _FLAVOR_RECURSIVE_SH.
Message-ID:  <202106010717.1517Hmu7090886@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bad84b3403f35e38153b86976e46a29ea1c30c9b

commit bad84b3403f35e38153b86976e46a29ea1c30c9b
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2021-06-01 07:02:35 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2021-06-01 07:15:49 +0000

    Mk/bsd.port.mk: Ignore @ in path in _FLAVOR_RECURSIVE_SH.
    
    While no port will ever have an @ in their path name, it might be
    possible that PORTSDIR has an @ somewhere in its path.
    
    PR:             256301
    Differential Revision:  https://reviews.freebsd.org/D30579
---
 Mk/bsd.port.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 13785ff0f234..93318b02d332 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4085,6 +4085,7 @@ _FLAVOR_RECURSIVE_SH= \
 	for dir in $${recursive_dirs}; do \
 		unset flavor; \
 		case $${dir} in \
+			*@*/*) ;; \
 			*@*) \
 				flavor=$${dir\#*@}; \
 				dir=$${dir%@*}; \



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