Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142069370
D3077.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
756 B
Referenced Files
None
Subscribers
None
D3077.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3077: Make this port build properly.
Attached
Detach File
Event Timeline
Log In to Comment