From 6f6fbe4bdf9851de1eb6ebef5287e3007846045e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 23 Sep 2011 22:26:39 +0000 Subject: - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS) - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav --- net/arping/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/arping') diff --git a/net/arping/Makefile b/net/arping/Makefile index a59180eb230f..8d96f3b7933b 100644 --- a/net/arping/Makefile +++ b/net/arping/Makefile @@ -17,10 +17,10 @@ COMMENT= ARP level "ping" utility BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet GNU_CONFIGURE= yes -CONFIGURE_ENV= CFLAGS+="`${LIBNET_CONFIG} --defines`" \ - CPPFLAGS="-I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags`" \ - LDFLAGS="-L${LOCALBASE}/lib" \ - LIBS="`${LIBNET_CONFIG} --libs` -lpcap" +CONFIGURE_ENV= LIBS="`${LIBNET_CONFIG} --libs` -lpcap" +CFLAGS+= `${LIBNET_CONFIG} --defines` +CPPFLAGS+= -I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags` +LDFLAGS+= -L${LOCALBASE}/lib LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config -- cgit v1.2.3