mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Make this port build properly.
Summary: It looks like we forgot to add '${SETENV} ${MAKE_ENV}' to the build script. Right now it ignores the compiler entirely. Furthermore, regardless of whether a C11 compiler is being used, the build will fail, for the reason that some C11 headers such as <stdnoreturn.h> are being used in the code. Instead of trying to fix that, simply disable this port on FreeBSD <10.1. I have no intent on ever getting CloudABI to work on FreeBSD 9. Reviewers: bapt Reviewed By: bapt Differential Revision: https://reviews.freebsd.org/D3077
This commit is contained in:
parent
3732864b52
commit
396571ac73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392614
@ -23,8 +23,12 @@ PLIST_FILES= bin/cloudabi-run \
|
||||
libexec/cloudabi-reexec \
|
||||
man/man1/cloudabi-run.1.gz
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && \
|
||||
${SETENV} ${MAKE_ENV} \
|
||||
PREFIX=${LOCALBASE} \
|
||||
CLOUDABI_CC=${LOCALBASE}/bin/x86_64-unknown-cloudabi-cc \
|
||||
${SH} build
|
||||
@ -34,4 +38,10 @@ do-install:
|
||||
PREFIX=${STAGEDIR}${PREFIX} \
|
||||
${SH} install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 1000100
|
||||
IGNORE= CloudABI will never support this version of FreeBSD
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user