From nobody@FreeBSD.org  Sat Nov 23 13:25:51 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id BBDACB27
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Nov 2013 13:25:51 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id AD1B12832
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Nov 2013 13:25:51 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rANDPpOc079735
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Nov 2013 13:25:51 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rANDPpor079732;
	Sat, 23 Nov 2013 13:25:51 GMT
	(envelope-from nobody)
Message-Id: <201311231325.rANDPpor079732@oldred.freebsd.org>
Date: Sat, 23 Nov 2013 13:25:51 GMT
From: Lukas Slebodnik <lukas.slebodnik@intrak.sk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update CFLAGS
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         184193
>Category:       ports
>Synopsis:       Update CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sunpoet
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 23 13:30:00 UTC 2013
>Closed-Date:    Sat Nov 23 15:10:53 UTC 2013
>Last-Modified:  Sat Nov 23 15:20:00 UTC 2013
>Originator:     Lukas Slebodnik
>Release:        FreeBSD 10.0-BETA3
>Organization:
>Environment:
FreeBSD freebsd_10 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Variable CFLAGS was overridden with value -fstack-protector-all
Attached patch fixes this issue and parameter -fstack-protector-all is only appended to CFLAGS
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 334664)
+++ Makefile	(working copy)
@@ -44,7 +44,7 @@
 		--with-db-path=/var/db/sss --with-pipe-path=/var/run/sss \
 		--with-pubconf-path=/var/run/sss --with-mcache-path=/var/db/sss_mc \
 		--with-unicode-lib=libunistring --with-autofs=no
-CFLAGS=		-fstack-protector-all
+CFLAGS+=	-fstack-protector-all
 PLIST_SUB=	PYTHON_VER=${PYTHON_VER}
 #DEBUG_FLAGS=  -g
 MAKE_ENV+=	LINGUAS="bg de eu es fr hu id it ja nb nl pl pt ru sv tg tr uk zh_CN zh_TW"


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sunpoet 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Sat Nov 23 14:10:23 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184193 
State-Changed-From-To: open->closed 
State-Changed-By: sunpoet 
State-Changed-When: Sat Nov 23 15:10:52 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184193: commit references a PR
Date: Sat, 23 Nov 2013 15:10:57 +0000 (UTC)

 Author: sunpoet
 Date: Sat Nov 23 15:10:44 2013
 New Revision: 334674
 URL: http://svnweb.freebsd.org/changeset/ports/334674
 
 Log:
   - Do not overwrite CFLAGS
   
   PR:		ports/184193
   Submitted by:	Lukas Slebodnik <lukas.slebodnik@intrak.sk> (maintainer)
 
 Modified:
   head/security/sssd/Makefile   (contents, props changed)
 
 Modified: head/security/sssd/Makefile
 ==============================================================================
 --- head/security/sssd/Makefile	Sat Nov 23 14:46:43 2013	(r334673)
 +++ head/security/sssd/Makefile	Sat Nov 23 15:10:44 2013	(r334674)
 @@ -44,7 +44,7 @@ CONFIGURE_ARGS=	--with-selinux=no --with
  		--with-db-path=/var/db/sss --with-pipe-path=/var/run/sss \
  		--with-pubconf-path=/var/run/sss --with-mcache-path=/var/db/sss_mc \
  		--with-unicode-lib=libunistring --with-autofs=no
 -CFLAGS=		-fstack-protector-all
 +CFLAGS+=	-fstack-protector-all
  PLIST_SUB=	PYTHON_VER=${PYTHON_VER}
  #DEBUG_FLAGS=  -g
  MAKE_ENV+=	LINGUAS="bg de eu es fr hu id it ja nb nl pl pt ru sv tg tr uk zh_CN zh_TW"
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
