From 6f6fbe4bdf9851de1eb6ebef5287e3007846045e Mon Sep 17 00:00:00 2001
From: Dmitry Marakasov <amdmi3@FreeBSD.org>
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
---
 math/cln/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'math/cln')

diff --git a/math/cln/Makefile b/math/cln/Makefile
index c377f05cc5f8..03f223cb54c5 100644
--- a/math/cln/Makefile
+++ b/math/cln/Makefile
@@ -23,9 +23,7 @@ USE_BZIP2=	yes
 USE_GNOME=	gnomehack pkgconfig
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-gmp
-MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 USE_LDCONFIG=	yes
 
 INFO=		cln
@@ -34,8 +32,8 @@ MAN1=		pi.1
 STRIP=		# none
 
 CFLAGS+=	-fPIC
-CPPFLAGS=	-I${LOCALBASE}/include
-LDFLAGS=	-L${LOCALBASE}/lib
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 .include <bsd.port.pre.mk>
 
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0