aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-05 23:32:36 +0800
committermat <mat@FreeBSD.org>2016-12-05 23:32:36 +0800
commitb60999949519f4a136b852d5bafc5d8dbc6b4e3c (patch)
tree90a0a52449566c12b0da51b83728e38b627dddb8 /Mk
parent04a7c6fc7a59ab3bfbe238f8935c73ccc281e069 (diff)
downloadfreebsd-ports-gnome-b60999949519f4a136b852d5bafc5d8dbc6b4e3c.tar.gz
freebsd-ports-gnome-b60999949519f4a136b852d5bafc5d8dbc6b4e3c.tar.zst
freebsd-ports-gnome-b60999949519f4a136b852d5bafc5d8dbc6b4e3c.zip
It seems sometime, GH_SUBDIR is only medium rare, on the other hand,
GH_SUBDIR_DEFAULT always is fully baked. Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sites.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 2aedd6201954..cba11fef613a 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -554,9 +554,9 @@ DISTFILES+= ${DISTNAME}${_GITHUB_EXTRACT_SUFX}
. if !empty(GH_SUBDIR)
_SITES_extract:= 690:post-extract-gh-DEFAULT
post-extract-gh-DEFAULT:
- @${RMDIR} ${WRKSRC}/${GH_SUBDIR} 2>/dev/null || :
- @${MKDIR} ${WRKSRC}/${GH_SUBDIR:H} 2>/dev/null || :
- @${LN} -s ${GH_SUBDIR:C/[^\/]//g:C/\//..\//g} ${WRKSRC}/${GH_SUBDIR}
+ @${RMDIR} ${WRKSRC}/${GH_SUBDIR_DEFAULT} 2>/dev/null || :
+ @${MKDIR} ${WRKSRC}/${GH_SUBDIR_DEFAULT:H} 2>/dev/null || :
+ @${LN} -s ${GH_SUBDIR_DEFAULT:C/[^\/]//g:C/\//..\//g} ${WRKSRC}/${GH_SUBDIR_DEFAULT}
. endif
# If there are non default groups
. if !empty(_GITHUB_GROUPS:NDEFAULT)