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 --- graphics/OpenEXR/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/OpenEXR') diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile index 04a1135f9eac..7237a609fd2c 100644 --- a/graphics/OpenEXR/Makefile +++ b/graphics/OpenEXR/Makefile @@ -27,7 +27,7 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS+=--enable-imfexamples # must be explicitely linked with -l{thr|pthread} -CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}" +LDFLAGS+= ${PTHREAD_LIBS} PTHREAD_LIBS+= `${CC} -dumpspecs | ${SED} -ne '/%{\!pg: %{pthread:/s/^.*%{\!pg: %{pthread:\([^}]*\)}.*$$/\1/p' || ${TRUE}` WRKSRC= ${WRKDIR}/${DISTNAME} -- cgit v1.2.3