Makefile.inc1: Remove svn support
We don't need this, and we don't use this. It's left over from the svn days. We stopped supporting svn as a project entirely when 12.x went EOL. And VCS_REVSION isn't in any current ucl file or anywhere else in the tree. Sponsored by: Netflix Reviewed by : kevans, brd Differential Revision: https://reviews.freebsd.org/D52912
This commit is contained in:
@@ -522,27 +522,6 @@ BUILDENV_SHELL?=${SHELL}
|
|||||||
BUILDENV_SHELL?=/bin/sh
|
BUILDENV_SHELL?=/bin/sh
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(_MKSHOWCONFIG)
|
|
||||||
.if !defined(VCS_REVISION) || empty(VCS_REVISION)
|
|
||||||
.if !defined(SVNVERSION_CMD) || empty(SVNVERSION_CMD)
|
|
||||||
. for _D in ${PATH:S,:, ,g}
|
|
||||||
. if exists(${_D}/svnversion)
|
|
||||||
SVNVERSION_CMD?=${_D}/svnversion
|
|
||||||
. endif
|
|
||||||
. if exists(${_D}/svnliteversion)
|
|
||||||
SVNVERSION_CMD?=${_D}/svnliteversion
|
|
||||||
. endif
|
|
||||||
. endfor
|
|
||||||
.endif
|
|
||||||
.if defined(SVNVERSION_CMD) && !empty(SVNVERSION_CMD)
|
|
||||||
_VCS_REVISION?= $$(eval ${SVNVERSION_CMD} ${SRCDIR})
|
|
||||||
. if !empty(_VCS_REVISION)
|
|
||||||
VCS_REVISION= $$(echo r${_VCS_REVISION})
|
|
||||||
.export VCS_REVISION
|
|
||||||
. endif
|
|
||||||
.endif
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(GIT_CMD) || empty(GIT_CMD)
|
.if !defined(GIT_CMD) || empty(GIT_CMD)
|
||||||
. for _P in /usr/bin /usr/local/bin
|
. for _P in /usr/bin /usr/local/bin
|
||||||
. if exists(${_P}/git)
|
. if exists(${_P}/git)
|
||||||
@@ -2225,9 +2204,6 @@ create-world-package-${pkgname}: .PHONY
|
|||||||
/^name/ { printf("===> Creating %s-", $$2); next } \
|
/^name/ { printf("===> Creating %s-", $$2); next } \
|
||||||
/^version/ { print $$2; next } \
|
/^version/ { print $$2; next } \
|
||||||
' ${WSTAGEDIR}/${pkgname}.ucl
|
' ${WSTAGEDIR}/${pkgname}.ucl
|
||||||
@if [ "${pkgname}" == "runtime" ]; then \
|
|
||||||
sed -i '' -e "s/%VCS_REVISION%/${VCS_REVISION}/" ${WSTAGEDIR}/${pkgname}.ucl ; \
|
|
||||||
fi
|
|
||||||
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
|
${PKG_CMD} -o ABI=${PKG_ABI} -o ALLOW_BASE_SHLIBS=yes \
|
||||||
-o OSVERSION="${SRCRELDATE}" \
|
-o OSVERSION="${SRCRELDATE}" \
|
||||||
create -f ${PKG_FORMAT} ${PKG_CLEVEL} \
|
create -f ${PKG_FORMAT} ${PKG_CLEVEL} \
|
||||||
|
|||||||
Reference in New Issue
Block a user