From jbeich@tormail.net  Sun Nov 13 20:46:30 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 EBABE106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Nov 2011 20:46:30 +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 B9AFA8FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Nov 2011 20:46:30 +0000 (UTC)
Received: from hazare.torservers.net ([173.254.192.38]:51587 helo=internal.tormail.net)
	by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128)
	(Exim 4.69)
	(envelope-from <jbeich@tormail.net>)
	id 1RPgwg-00233T-6v
	for FreeBSD-gnats-submit@freebsd.org; Sun, 13 Nov 2011 15:46:31 -0500
Received: from jbeich by internal.tormail.net with local (Exim 4.63)
	(envelope-from <jbeich@tormail.net>)
	id 1RPguv-000H5X-9L
	for FreeBSD-gnats-submit@freebsd.org; Sun, 13 Nov 2011 20:45:22 +0000
Message-Id: <1RPguv-000H5X-9L@internal.tormail.net>
Date: Sun, 13 Nov 2011 12:59:49 -0500
From: Jan Beich <jbeich@tormail.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] security/luasec: respect CC/CFLAGS

>Number:         162533
>Category:       ports
>Synopsis:       [patch] security/luasec: respect CC/CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 13 20:50:10 UTC 2011
>Closed-Date:    Thu Nov 24 15:56:01 UTC 2011
>Last-Modified:  Thu Nov 24 16:00:25 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/lua51-luasec-0.4.log
>Fix:
--- cc.diff begins here ---
Index: security/luasec/Makefile
===================================================================
RCS file: /a/.csup/ports/security/luasec/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- security/luasec/Makefile	23 Aug 2010 08:22:52 -0000	1.5
+++ security/luasec/Makefile	13 Nov 2011 17:57:25 -0000
@@ -33,4 +33,11 @@ USE_OPENSSL=	yes
 USE_OPENSSL_PORT=yes
 .endif
 
+post-patch:	.SILENT
+	${REINPLACE_CMD} -Ee '/^CC/s/=/?=/' \
+		-e '/^LD/s/gcc/$$(CC)/' \
+		-e '/^(C|LD)FLAGS/s/=/+=/' \
+		-e '/^BSD/{s/-O[0-3]?//;}' \
+		${WRKSRC}/src/Makefile
+
 .include <bsd.port.mk>
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Nov 13 20:50:53 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: kelly.hays@jkhfamily.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/162533: [patch] security/luasec: respect CC/CFLAGS
Date: Sun, 13 Nov 2011 20:50:51 UT

 Maintainer of security/luasec,
 
 Please note that PR ports/162533 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162533
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Kelly Hays <kelly.hays@jkhfamily.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/162533: [patch] security/luasec: respect CC/CFLAGS
Date: Sun, 13 Nov 2011 15:48:06 -0600

 --0016369fa10aa2449d04b1a4b570
 Content-Type: text/plain; charset=ISO-8859-1
 
 The patch is approved. If the submitter would like to take over maintenance
 of the port, that is also approved.
 Thanks,
 Kelly
 
 Sent from my Nexus One.
 On Nov 13, 2011 2:50 PM, "Edwin Groothuis" <edwin@freebsd.org> wrote:
 
 > Maintainer of security/luasec,
 >
 > Please note that PR ports/162533 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162533
 >
 > --
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 >
 
 --0016369fa10aa2449d04b1a4b570
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <p>The patch is approved. If the submitter would like to take over maintena=
 nce of the port, that is also approved. <br>
 Thanks, <br>
 Kelly <br></p>
 <p>Sent from my Nexus One. </p>
 <div class=3D"gmail_quote">On Nov 13, 2011 2:50 PM, &quot;Edwin Groothuis&q=
 uot; &lt;<a href=3D"mailto:edwin@freebsd.org">edwin@freebsd.org</a>&gt; wro=
 te:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"marg=
 in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 Maintainer of security/luasec,<br>
 <br>
 Please note that PR ports/162533 has just been submitted.<br>
 <br>
 If it contains a patch for an upgrade, an enhancement or a bug fix<br>
 you agree on, reply to this email stating that you approve the patch<br>
 and a committer will take care of it.<br>
 <br>
 The full text of the PR can be found at:<br>
  =A0 =A0<a href=3D"http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/16253=
 3" target=3D"_blank">http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/162=
 533</a><br>
 <br>
 --<br>
 Edwin Groothuis via the GNATS Auto Assign Tool<br>
 edwin@FreeBSD.org<br>
 </blockquote></div>
 
 --0016369fa10aa2449d04b1a4b570--
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon Nov 14 04:24:55 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162533 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Nov 24 15:56:01 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162533: commit references a PR
Date: Thu, 24 Nov 2011 15:56:07 +0000 (UTC)

 miwi        2011-11-24 15:55:53 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/luasec      Makefile 
   Log:
   - Respect CC/CFLAGS
   
   PR:             162533
   Submitted by:   Jan Beich <jbeich@tormail.net>
   Approved by:    maintainer
   Feature safe:   yes
   
   Revision  Changes    Path
   1.6       +7 -0      ports/security/luasec/Makefile
 _______________________________________________
 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:
