svn commit: r292238 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Tue Dec 15 00:40:05 UTC 2015
Author: bdrewery
Date: Tue Dec 15 00:40:04 2015
New Revision: 292238
URL: https://svnweb.freebsd.org/changeset/base/292238
Log:
Add comment about OBJTOP not yet being defined outside of META MODE.
It is fine for the purpose of the check though.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/share/mk/src.libnames.mk
Modified: head/share/mk/src.libnames.mk
==============================================================================
--- head/share/mk/src.libnames.mk Tue Dec 15 00:16:34 2015 (r292237)
+++ head/share/mk/src.libnames.mk Tue Dec 15 00:40:04 2015 (r292238)
@@ -519,6 +519,8 @@ _BADLIBADD+= ${_l}
(!defined(_DP_${LIB}) || ${LIBADD:O:u} != ${_DP_${LIB}:O:u})
.error ${.CURDIR}: Missing or incorrect _DP_${LIB} entry in ${_this:T}. Should match LIBADD for ${LIB} ('${LIBADD}' vs '${_DP_${LIB}}')
.endif
+# Note that OBJTOP is not yet defined here but for the purpose of the check
+# it is fine as it resolves to the SRC directory.
.if !defined(LIB${LIB:tu}DIR) || !exists(${SRCTOP}/${LIB${LIB:tu}DIR:S,^${OBJTOP}/,,})
.error ${.CURDIR}: Missing or incorrect value for LIB${LIB:tu}DIR in ${_this:T}: ${LIB${LIB:tu}DIR:S,^${OBJTOP}/,,}
.endif
More information about the svn-src-all
mailing list