Step 0: mk/ Update Minix platform definition
We are transitionning from a full platform to a NetBSD variant, per the project policy of having a NetBSD userland. There is then little meaning in adapting all the NetBSD tests to also be true for Minix. This means the following is set as: * OPSYS = NetBSD * OS_VARIANT = Minix This also has the consequence of obsoleting a few files in pkgtools/bootstrap-mk-files.
This commit is contained in:
@@ -27,8 +27,13 @@ _METADATA_TARGETS+= ${_BUILD_INFO_FILE}
|
||||
${_BUILD_INFO_FILE}: ${_PLIST_NOKEYWORDS}
|
||||
${RUN}${MKDIR} ${.TARGET:H}
|
||||
${RUN}${RM} -f ${.TARGET}.tmp
|
||||
.if ${OPSYS} == "NetBSD" && ${OS_VARIANT}
|
||||
${RUN} (${_BUILD_DEFS:NPATH:@v@${ECHO} ${v}=${${v}:S,NetBSD,Minix,:Q} ;@}) \
|
||||
> ${.TARGET}.tmp
|
||||
.else
|
||||
${RUN} (${_BUILD_DEFS:NPATH:@v@${ECHO} ${v}=${${v}:Q} ;@}) \
|
||||
> ${.TARGET}.tmp
|
||||
.endif # ${OPSYS} == "NetBSD" && ${OS_VARIANT}
|
||||
.if !empty(USE_LANGUAGES)
|
||||
${RUN}${ECHO} "CC_VERSION=${CC_VERSION}" >> ${.TARGET}.tmp
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user