From jbeich@tormail.net  Wed Dec 14 02:14:11 2011
Return-Path: <jbeich@tormail.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4AFC9106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Dec 2011 02:14:11 +0000 (UTC)
	(envelope-from jbeich@tormail.net)
Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77])
	by mx1.freebsd.org (Postfix) with ESMTP id 154028FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Dec 2011 02:14:10 +0000 (UTC)
Received: from [109.169.46.53] (port=48372 helo=internal.tormail.net)
	by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128)
	(Exim 4.69)
	(envelope-from <jbeich@tormail.net>)
	id 1RaeMD-002k85-87
	for FreeBSD-gnats-submit@freebsd.org; Tue, 13 Dec 2011 21:14:10 -0500
Received: from jbeich by internal.tormail.net with local (Exim 4.63)
	(envelope-from <jbeich@tormail.net>)
	id 1RaeLW-000FPl-Pn
	for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Dec 2011 02:13:27 +0000
Message-Id: <1RaeLW-000FPl-Pn@internal.tormail.net>
Date: Tue, 13 Dec 2011 21:09:24 -0500
From: Jan Beich <jbeich@tormail.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] graphics/lensfun: respect CXX

>Number:         163270
>Category:       ports
>Synopsis:       [patch] graphics/lensfun: respect CXX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danfe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 14 02:20:08 UTC 2011
>Closed-Date:    Thu Dec 15 11:46:56 UTC 2011
>Last-Modified:  Thu Dec 15 11:50:07 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->danfe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Dec 14 02:20:18 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163270 
State-Changed-From-To: open->closed 
State-Changed-By: danfe 
State-Changed-When: Thu Dec 15 11:46:31 UTC 2011 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163270 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163270: commit references a PR
Date: Thu, 15 Dec 2011 11:45:25 +0000 (UTC)

 danfe       2011-12-15 11:45:10 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/lensfun     Makefile pkg-plist 
   Log:
   - Change license: GPL only applies to binaries, which are not installed by
     the port, so use more appropriate LGPL; this also brings us in line with
     most of the GNU/Linux distributions
   - Remove licenses and useless documentation (README file containing build
     instructions); 95% of users do not interact with lensfun directly anyway
   - Adjust Python dependency: it is only required during build time
   - Enable verbose build (helps to study logs)
   - Respect CXX/AR[*], CFLAGS; adjust COMMENT and Makefile header
   - Fix symlink (do not use absolute path) and wrap overly long line
   - Cleanup and sort pkg-plist
   - Bump PORTREVISION after recent changes
   
   PR:     ports/163270 [*]
   
   Revision  Changes    Path
   1.8       +16 -15    ports/graphics/lensfun/Makefile
   1.4       +1 -7      ports/graphics/lensfun/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
