mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Makefile.inc1: Silence an error in make packages
Silence an error in "packages" target, like: eval: /usr/src: Permission denied on systems without subversion present. Reviewed by: emaste Approved by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D33153
This commit is contained in:
parent
b6f4818a7e
commit
aaa4cd7f3c
|
@ -503,11 +503,13 @@ 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})
|
||||
. endif
|
||||
.export VCS_REVISION
|
||||
. endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !defined(GIT_CMD) || empty(GIT_CMD)
|
||||
|
|
Loading…
Reference in a new issue