From owner-svn-ports-head@freebsd.org Tue Jul 21 09:00:01 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 561AE9A7D07; Tue, 21 Jul 2015 09:00:01 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4633A16A3; Tue, 21 Jul 2015 09:00:01 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6L901nM048550; Tue, 21 Jul 2015 09:00:01 GMT (envelope-from ed@FreeBSD.org) Received: (from ed@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6L901ZY048549; Tue, 21 Jul 2015 09:00:01 GMT (envelope-from ed@FreeBSD.org) Message-Id: <201507210900.t6L901ZY048549@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ed set sender to ed@FreeBSD.org using -f From: Ed Schouten Date: Tue, 21 Jul 2015 09:00:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392614 - head/sysutils/cloudabi-utils X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 09:00:01 -0000 Author: ed (src committer) Date: Tue Jul 21 09:00:00 2015 New Revision: 392614 URL: https://svnweb.freebsd.org/changeset/ports/392614 Log: 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 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 Modified: head/sysutils/cloudabi-utils/Makefile Modified: head/sysutils/cloudabi-utils/Makefile ============================================================================== --- head/sysutils/cloudabi-utils/Makefile Tue Jul 21 07:39:35 2015 (r392613) +++ head/sysutils/cloudabi-utils/Makefile Tue Jul 21 09:00:00 2015 (r392614) @@ -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 +.include + +.if ${OSVERSION} < 1000100 +IGNORE= CloudABI will never support this version of FreeBSD +.endif + +.include