Index: head/lib/libcasper/services/cap_dns/tests/Makefile =================================================================== --- head/lib/libcasper/services/cap_dns/tests/Makefile (revision 327582) +++ head/lib/libcasper/services/cap_dns/tests/Makefile (revision 327583) @@ -1,15 +1,16 @@ # $FreeBSD$ .include TAP_TESTS_C= dns_test .if ${MK_CASPER} != "no" LIBADD+= casper LIBADD+= cap_dns +CFLAGS+=-DWITH_CASPER .endif LIBADD+= nv WARNS?= 3 .include Index: head/lib/libcasper/services/cap_grp/tests/Makefile =================================================================== --- head/lib/libcasper/services/cap_grp/tests/Makefile (revision 327582) +++ head/lib/libcasper/services/cap_grp/tests/Makefile (revision 327583) @@ -1,15 +1,16 @@ # $FreeBSD$ .include TAP_TESTS_C= grp_test .if ${MK_CASPER} != "no" LIBADD+= casper LIBADD+= cap_grp +CFLAGS+=-DWITH_CASPER .endif LIBADD+= nv WARNS?= 3 .include Index: head/lib/libcasper/services/cap_pwd/tests/Makefile =================================================================== --- head/lib/libcasper/services/cap_pwd/tests/Makefile (revision 327582) +++ head/lib/libcasper/services/cap_pwd/tests/Makefile (revision 327583) @@ -1,15 +1,16 @@ # $FreeBSD$ .include TAP_TESTS_C= pwd_test .if ${MK_CASPER} != "no" LIBADD+= casper LIBADD+= cap_pwd +CFLAGS+=-DWITH_CASPER .endif LIBADD+= nv WARNS?= 3 .include Index: head/lib/libcasper/services/cap_sysctl/tests/Makefile =================================================================== --- head/lib/libcasper/services/cap_sysctl/tests/Makefile (revision 327582) +++ head/lib/libcasper/services/cap_sysctl/tests/Makefile (revision 327583) @@ -1,17 +1,18 @@ # $FreeBSD$ .include TAP_TESTS_C= sysctl_test .if ${MK_CASPER} != "no" LIBADD+= casper LIBADD+= cap_sysctl +CFLAGS+=-DWITH_CASPER .endif LIBADD+= nv WARNS?= 3 TEST_METADATA.sysctl_test+= required_user="root" .include