The branch main has been updated by oshogbo: URL: https://cgit.FreeBSD.org/src/commit/?id=381073282961af9d11d6225fcf9dfdf650915acf
commit 381073282961af9d11d6225fcf9dfdf650915acf Author: Mariusz Zaborski <osho...@freebsd.org> AuthorDate: 2021-01-04 19:48:48 +0000 Commit: Mariusz Zaborski <osho...@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 _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"