From nobody@FreeBSD.org  Wed Dec 14 11:45:20 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A7C831065677
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Dec 2011 11:45:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 973558FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Dec 2011 11:45:20 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBEBjKlR009295
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Dec 2011 11:45:20 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pBEBjK1u009294;
	Wed, 14 Dec 2011 11:45:20 GMT
	(envelope-from nobody)
Message-Id: <201112141145.pBEBjK1u009294@red.freebsd.org>
Date: Wed, 14 Dec 2011 11:45:20 GMT
From: Babak Farrokhi <farrokhi@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [update] net/haproxy-devel to 	1.5-dev7
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: freebsd@linepoint.com

>Number:         163279
>Category:       ports
>Synopsis:       [update] net/haproxy-devel to 	1.5-dev7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 14 11:50:03 UTC 2011
>Closed-Date:    Fri May 25 13:38:33 UTC 2012
>Last-Modified:  Fri May 25 13:38:33 UTC 2012
>Originator:     Babak Farrokhi
>Release:        9.0-RC2
>Organization:
>Environment:
FreeBSD rad01 9.0-RC2 FreeBSD 9.0-RC2 #0: Sat Nov 12 18:35:25 UTC 2011     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
- update to latest development snapshot 1.5-dev7
- patch Makefile to honor CC, CFLAGS and PREFIX
>How-To-Repeat:

>Fix:
diff -ruN haproxy-devel.orig/Makefile haproxy-devel/Makefile
--- haproxy-devel.orig/Makefile	2011-12-14 12:50:14.000000000 +0330
+++ haproxy-devel/Makefile	2011-12-14 12:50:24.000000000 +0330
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	haproxy
-DISTVERSION=	1.5-dev6
+DISTVERSION=	1.5-dev7
 CATEGORIES=	net
 MASTER_SITES=	http://haproxy.1wt.eu/download/1.5/src/devel/
 PKGNAMESUFFIX=	-devel
diff -ruN haproxy-devel.orig/distinfo haproxy-devel/distinfo
--- haproxy-devel.orig/distinfo	2011-12-14 12:50:14.000000000 +0330
+++ haproxy-devel/distinfo	2011-12-14 12:50:50.000000000 +0330
@@ -1,2 +1,2 @@
-SHA256 (haproxy-1.5-dev6.tar.gz) = 6a29ecec0473fd8ee766bde8efd42c659ac43e72c4993e2dd40000eaabecc7af
-SIZE (haproxy-1.5-dev6.tar.gz) = 879996
+SHA256 (haproxy-1.5-dev7.tar.gz) = e0f8228dd73ec017ade8d8dfc1d244ea70b16f76e4a08912d41c4d08d3e3d659
+SIZE (haproxy-1.5-dev7.tar.gz) = 908544
diff -ruN haproxy-devel.orig/files/patch-Makefile haproxy-devel/files/patch-Makefile
--- haproxy-devel.orig/files/patch-Makefile	1970-01-01 03:30:00.000000000 +0330
+++ haproxy-devel/files/patch-Makefile	2011-12-14 14:10:41.000000000 +0330
@@ -0,0 +1,29 @@
+--- Makefile.orig
++++ Makefile
+@@ -65,7 +65,7 @@
+ 
+ #### Installation options.
+ DESTDIR =
+-PREFIX = /usr/local
++PREFIX? = /usr/local
+ SBINDIR = $(PREFIX)/sbin
+ MANDIR = $(PREFIX)/share/man
+ DOCDIR = $(PREFIX)/doc/haproxy
+@@ -92,7 +92,7 @@
+ 
+ #### Toolchain options.
+ # GCC is normally used both for compiling and linking.
+-CC = gcc
++CC? = gcc
+ LD = $(CC)
+ 
+ #### Debug flags (typically "-g").
+@@ -161,7 +161,7 @@
+ # These CFLAGS contain general optimization options, CPU-specific optimizations
+ # and debug flags. They may be overridden by some distributions which prefer to
+ # set all of them at once instead of playing with the CPU and DEBUG variables.
+-CFLAGS = $(ARCH_FLAGS) $(CPU_CFLAGS) $(DEBUG_CFLAGS) $(SPEC_CFLAGS)
++CFLAGS? = $(ARCH_FLAGS) $(CPU_CFLAGS) $(DEBUG_CFLAGS) $(SPEC_CFLAGS)
+ 
+ #### Common LDFLAGS
+ # These LDFLAGS are used as the first "ld" options, regardless of any library


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->farrokhi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Dec 14 11:50:12 UTC 2011 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163279 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Dec 14 11:50:16 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: freebsd@linepoint.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163279: [update] net/haproxy-devel to 	1.5-dev7
Date: Wed, 14 Dec 2011 11:50:14 UT

 Maintainer of net/haproxy-devel,
 
 Please note that PR ports/163279 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/163279
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: farrokhi->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Dec 14 13:06:47 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163279 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri May 25 13:38:32 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163279 
>Unformatted:
