Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 21:09:24 -0500
From:      Jan Beich <jbeich@tormail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163270: [patch] graphics/lensfun: respect CXX
Message-ID:  <1RaeLW-000FPl-Pn@internal.tormail.net>
Resent-Message-ID: <201112140220.pBE2K9iQ053121@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RaeLW-000FPl-Pn>