aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2018-03-05 16:29:33 +0800
committermat <mat@FreeBSD.org>2018-03-05 16:29:33 +0800
commit97ecab8a28b9cbec736a56e79f1ce09a92830182 (patch)
tree13c4686bf00bda247890e532573bb2c985dc46db /Mk
parentb12eceb6d0f6190252496cb25dfacd43cf745024 (diff)
downloadfreebsd-ports-gnome-97ecab8a28b9cbec736a56e79f1ce09a92830182.tar.gz
freebsd-ports-gnome-97ecab8a28b9cbec736a56e79f1ce09a92830182.tar.zst
freebsd-ports-gnome-97ecab8a28b9cbec736a56e79f1ce09a92830182.zip
Fix a regression on 10.3 introduced in r463301.
PR: 226221 Reported by: mmokhi Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sites.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 3d25a496754a..cc99e6257332 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -489,7 +489,7 @@ WRKSRC_${_group}:= ${WRKDIR}/${GH_PROJECT_${_group}}-${GH_TAGNAME_${_group}_EXTR
# In order to sort the subdir extraction so that foo/bar is moved in before
# foo/bar/baz, we count the number of / in the path and use it to order the
# targets. This handles up to 9 levels. The max as of r463123 is 4.
-_SITES_extract:= ${_SITES_extract} 69${GH_SUBDIR_${_group}:C=[^/]+= =g:range:[-1]}:post-extract-gh-${_group}
+_SITES_extract:= ${_SITES_extract} 69${GH_SUBDIR_${_group}:C=[^/]+= =g:[#]}:post-extract-gh-${_group}
post-extract-gh-${_group}:
@${RMDIR} ${WRKSRC}/${GH_SUBDIR_${_group}} 2>/dev/null || :
@${MKDIR} ${WRKSRC}/${GH_SUBDIR_${_group}:H} 2>/dev/null || :