lib9p: fix building on systems without capser

PR:		252353
This commit is contained in:
Mariusz Zaborski 2021-01-04 20:48:48 +01:00
parent 12d053032b
commit 3810732829

View File

@ -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