Add MK_AUTO_OBJ=no to ${MAKE} invocation if PKG_VERSION needs to be
created to avoid creating ${.OBJDIR}. The duplicate REVISION/BRANCH/VERSION evaluation will be addressed separately. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
f62610d7bb
commit
fcede88bbd
@ -195,8 +195,8 @@ VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE
|
||||
.endif
|
||||
|
||||
.if !defined(PKG_VERSION)
|
||||
REVISION!= ${MAKE} -C ${SRCDIR}/release -V REVISION
|
||||
BRANCH!= ${MAKE} -C ${SRCDIR}/release -V BRANCH
|
||||
REVISION!= MK_AUTO_OBJ=no ${MAKE} -C ${SRCDIR}/release -V REVISION
|
||||
BRANCH!= MK_AUTO_OBJ=no ${MAKE} -C ${SRCDIR}/release -V BRANCH
|
||||
SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
|
||||
${SRCDIR}/sys/sys/param.h
|
||||
.if ${BRANCH:MSTABLE*} || ${BRANCH:MCURRENT*}
|
||||
|
Loading…
Reference in New Issue
Block a user