From 362459a8d26ba4b9149d0decb2cd821e2765ee08 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 1 Jul 2011 01:19:27 +0000 Subject: clang-with-ports fix: Declare USE_CSTD=gnu89. Split out CPPFLAGS from CONFIGURE_ENV. --- net/librsync/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/librsync/Makefile b/net/librsync/Makefile index ea34d384df95..933708506f00 100644 --- a/net/librsync/Makefile +++ b/net/librsync/Makefile @@ -19,9 +19,10 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt USE_AUTOTOOLS= libtool USE_GMAKE= yes +USE_CSTD= gnu89 GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CPPFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --enable-shared --disable-trace USE_LDCONFIG= yes -- cgit