git: bad84b3403f3 - main - Mk/bsd.port.mk: Ignore @ in path in _FLAVOR_RECURSIVE_SH.

Mathieu Arnold mat at FreeBSD.org
Tue Jun 1 07:17:48 UTC 2021


The branch main has been updated by mat:

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

commit bad84b3403f35e38153b86976e46a29ea1c30c9b
Author:     Andriy Gapon <avg at FreeBSD.org>
AuthorDate: 2021-06-01 07:02:35 +0000
Commit:     Mathieu Arnold <mat at 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%@*}; \


More information about the dev-commits-ports-main mailing list