diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-04-02 05:24:33 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-04-02 05:24:33 +0000 |
commit | 59ac30e126d6a46d3836998f17a6d6446a4cc2c7 (patch) | |
tree | 48c94f2f373361301446e17982a0ff9272603338 /Mk/bsd.port.mk | |
parent | 5e7984ac3c8cd6a0ad9be67af6061207ed377c4d (diff) | |
download | ports-59ac30e126d6a46d3836998f17a6d6446a4cc2c7.tar.gz ports-59ac30e126d6a46d3836998f17a6d6446a4cc2c7.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 098f784668d8..35e282603b47 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1360,22 +1360,22 @@ _PATCH_SITE_SUBDIR_DEFAULT+= ${_S:C@^(.*)/:[^/:]+$@\1@} # XXX simpler/faster solution but not the best space wise, suggestions please .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} -MASTER_SITES_TMP= . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} . if defined(_MASTER_SITE_SUBDIR_${_group}) +MASTER_SITES_TMP= . for dir in ${_MASTER_SITE_SUBDIR_${_group}} MASTER_SITES_TMP+= ${_MASTER_SITES_${_group}:S^%SUBDIR%^${dir}^} . endfor . else -MASTER_SITES_TMP+= ${_MASTER_SITES_${_group}:S^%SUBDIR%/^^} +MASTER_SITES_TMP= ${_MASTER_SITES_${_group}:S^%SUBDIR%/^^} . endif _MASTER_SITES_${_group}:= ${MASTER_SITES_TMP} . endfor . endif .endfor -MASTER_SITES_TMP= .if defined(_MASTER_SITE_SUBDIR_DEFAULT) +MASTER_SITES_TMP= . for dir in ${_MASTER_SITE_SUBDIR_DEFAULT} MASTER_SITES_TMP+= ${_MASTER_SITES_DEFAULT:S^%SUBDIR%^${dir}^} . endfor @@ -1386,22 +1386,22 @@ _MASTER_SITES_DEFAULT:= ${MASTER_SITES_TMP} MASTER_SITES_TMP= .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} -PATCH_SITES_TMP= . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} . if defined(_PATCH_SITE_SUBDIR_${_group}) +PATCH_SITES_TMP= . for dir in ${_PATCH_SITE_SUBDIR_${_group}} PATCH_SITES_TMP+= ${_PATCH_SITES_${_group}:S^%SUBDIR%^${dir}^} . endfor . else -PATCH_SITES_TMP+= ${_PATCH_SITES_${_group}:S^%SUBDIR%/^^} +PATCH_SITES_TMP= ${_PATCH_SITES_${_group}:S^%SUBDIR%/^^} . endif _PATCH_SITES_${_group}:= ${PATCH_SITES_TMP} . endfor . endif .endfor -PATCH_SITES_TMP= .if defined(_PATCH_SITE_SUBDIR_DEFAULT) +PATCH_SITES_TMP= . for dir in ${_PATCH_SITE_SUBDIR_DEFAULT} PATCH_SITES_TMP+= ${_PATCH_SITES_DEFAULT:S^%SUBDIR%^${dir}^} . endfor |