Page MenuHomeFreeBSD

D3077.diff
No OneTemporary

D3077.diff

Index: head/sysutils/cloudabi-utils/Makefile
===================================================================
--- head/sysutils/cloudabi-utils/Makefile
+++ head/sysutils/cloudabi-utils/Makefile
@@ -23,8 +23,12 @@
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 @@
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>

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 16, 5:54 PM (10 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27664555
Default Alt Text
D3077.diff (756 B)

Event Timeline