diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2015-07-21 09:00:00 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2015-07-21 09:00:00 +0000 |
| commit | 396571ac7382fdf98a3276b7855b9bcd81bad2d8 (patch) | |
| tree | 6457b88daf0de635fd5b7deaadbdba4770e37f1e /sysutils/cloudabi-utils | |
| parent | 3732864b520f2842adb1bf88267b5a36b004fc70 (diff) | |
Notes
Diffstat (limited to 'sysutils/cloudabi-utils')
| -rw-r--r-- | sysutils/cloudabi-utils/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/cloudabi-utils/Makefile b/sysutils/cloudabi-utils/Makefile index f0873d3e84d3..9d52b198fbe2 100644 --- a/sysutils/cloudabi-utils/Makefile +++ b/sysutils/cloudabi-utils/Makefile @@ -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> |
