lib9p: fix building on systems without capser
PR: 252353
This commit is contained in:
parent
12d053032b
commit
3810732829
@ -1,10 +1,15 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <src.opts.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../contrib/lib9p
|
.PATH: ${.CURDIR}/../../contrib/lib9p
|
||||||
CFLAGS+= -DWITH_CASPER
|
|
||||||
CFLAGS+= -I${.CURDIR}
|
CFLAGS+= -I${.CURDIR}
|
||||||
CFLAGS+= -I${.CURDIR}/../../contrib/lib9p
|
CFLAGS+= -I${.CURDIR}/../../contrib/lib9p
|
||||||
|
|
||||||
|
.if ${MK_CASPER} != "no"
|
||||||
|
CFLAGS+= -DWITH_CASPER
|
||||||
|
.endif
|
||||||
|
|
||||||
LIB= 9p
|
LIB= 9p
|
||||||
PACKAGE= lib${LIB}
|
PACKAGE= lib${LIB}
|
||||||
SHLIB_MAJOR= 1
|
SHLIB_MAJOR= 1
|
||||||
|
Loading…
Reference in New Issue
Block a user