ports/163270: [patch] graphics/lensfun: respect CXX

Jan Beich jbeich at tormail.net
Wed Dec 14 02:20:09 UTC 2011


>Number:         163270
>Category:       ports
>Synopsis:       [patch] graphics/lensfun: respect CXX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 14 02:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
# slightly different from pointyhat
$ export PATH=~/.bin:$PATH
$ for cc in CC cc c++ gcc g++ cpp; do ln -s /usr/bin/false ~/.bin/${cc}; done
>Description:
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/lensfun-0.2.5_1.log
>Fix:
--- cc.diff begins here ---
Index: graphics/lensfun/Makefile
===================================================================
RCS file: /a/.csup/ports/graphics/lensfun/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- graphics/lensfun/Makefile	23 Sep 2011 22:23:17 -0000	1.7
+++ graphics/lensfun/Makefile	14 Dec 2011 02:06:43 -0000
@@ -30,6 +30,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_L
 CXXFLAGS+=	-I${LOCALBASE}/include
 
 HAS_CONFIGURE=	yes
+CONFIGURE_ENV=	LD="${CXX}" AR="${AR}"
 CONFIGURE_ARGS=	--prefix=${PREFIX} --target=${TARGET} --vectorization=SSE
 
 PLIST_SUB+=	PORTVERSION=${PORTVERSION} LIBVERSION=${LIBVERSION}
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list