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:
2013-10-07 16:06:08 +02:00
committed by Lionel Sambuc
parent 1242aa1e36
commit 8ae4103124
12 changed files with 55 additions and 1327 deletions

View File

@@ -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