Date: Mon, 4 Jan 2021 19:57:41 GMT From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 381073282961 - main - lib9p: fix building on systems without capser Message-ID: <202101041957.104JvfGS009307@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by oshogbo: URL: https://cgit.FreeBSD.org/src/commit/?id=381073282961af9d11d6225fcf9dfdf650915acf commit 381073282961af9d11d6225fcf9dfdf650915acf Author: Mariusz Zaborski <oshogbo@FreeBSD.org> AuthorDate: 2021-01-04 19:48:48 +0000 Commit: Mariusz Zaborski <oshogbo@FreeBSD.org> CommitDate: 2021-01-04 19:48:48 +0000 lib9p: fix building on systems without capser PR: 252353 --- lib/lib9p/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/lib9p/Makefile b/lib/lib9p/Makefile index c909bdb1f781..c810ccd79e64 100644 --- a/lib/lib9p/Makefile +++ b/lib/lib9p/Makefile @@ -1,10 +1,15 @@ # $FreeBSD$ +.include <src.opts.mk> + .PATH: ${.CURDIR}/../../contrib/lib9p -CFLAGS+= -DWITH_CASPER CFLAGS+= -I${.CURDIR} CFLAGS+= -I${.CURDIR}/../../contrib/lib9p +.if ${MK_CASPER} != "no" +CFLAGS+= -DWITH_CASPER +.endif + LIB= 9p PACKAGE= lib${LIB} SHLIB_MAJOR= 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101041957.104JvfGS009307>