pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
How to have build system type and host system type as expected?
Still stuck. This is the error message:
===> Patching for cwrappers-20180325
===> Creating toolchain wrappers for cwrappers-20180325
===> Configuring for cwrappers-20180325
=> Configuring and building libnbcompat
checking build system type... x86_64-unknown-midnightbsd2.0.3
checking host system type... config.sub: invalid option -unknown-freebsd11.4
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub -unknown-freebsd11.4 failed
*** Error code 1
Stop.
bmake[1]: stopped in /usr/home/gh/pkgsrc/pkgtools/cwrappers
*** Error code 1
Stop.
bmake: stopped in /usr/home/gh/pkgsrc/pkgtools/cwrappers
===> exited with status 1
aborted.
Here is the lines I added in bsd.prefs.mk:
.elif ${OPSYS} == "MidnightBSD"
OS_VERSION= 11
MACHINE_PLATFORM= FreeBSD-${OS_VERSION}-${MACHINE_ARCH}
NATIVE_MACHINE_PLATFORM=${MACHINE_PLATFORM}
LOWER_OPSYS?= freebsd
LOWER_OPSYS_VERSUFFIX= 11.4
. if ${MACHINE_ARCH} == "i386"
LOWER_VENDOR?= pc
. endif
LOWER_VENDOR?= unknown
The expected build system type and host system type both are x86_64-unknown-freebsd11.4
Please help. Thanks.
Home |
Main Index |
Thread Index |
Old Index