Index: head/www/varnish4/Makefile =================================================================== --- head/www/varnish4/Makefile (revision 382330) +++ head/www/varnish4/Makefile (revision 382331) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= varnish PORTVERSION= 4.0.3 PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://repo.varnish-cache.org/source/ PKGNAMESUFFIX= 4 MAINTAINER= feld@FreeBSD.org COMMENT= High-performance HTTP accelerator LICENSE= BSD2CLAUSE LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ libedit.so.0:${PORTSDIR}/devel/libedit CONFLICTS= varnish-2.* varnish-3.* USES= autoreconf gmake libtool readline pkgconfig python:build -CPPLAGS+= -I${LOCALBASE}/include +CFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=${PREFIX} --enable-tests CONFIGURE_ENV= RST2MAN=true USE_LDCONFIG= yes INSTALL_TARGET= install-strip USE_RC_SUBR= varnishd varnishlog varnishncsa SUB_FILES= pkg-message .if defined(NO_INET6) || defined(WITHOUT_INET6) BAD_TESTS+= r00832 EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch .endif post-patch: @${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.am .if defined(BAD_TESTS) ${RM} -f ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} .endif regression-test check test: build ${MAKE_CMD} TESTS_PARALLELISM=1 -C ${WRKSRC} check .include .if ${ARCH} == "arm" BROKEN= Does not configure on arm .endif .include