Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 11:51:34 GMT
From:      Babak Farrokhi <farrokhi@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163281: [update] net/haproxy-devel to 	1.5-dev7
Message-ID:  <201112141151.pBEBpYwq009769@red.freebsd.org>
Resent-Message-ID: <201112141200.pBEC0ZB8025980@freefall.freebsd.org>

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

>Number:         163281
>Category:       ports
>Synopsis:       [update] net/haproxy-devel to 	1.5-dev7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 14 12:00:35 UTC 2011
>Closed-Date:
>Last-Modified:
>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 snapshot 1.5-dev7
- patch Makefile to respect CC, CFLAGS and PREFIX
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112141151.pBEBpYwq009769>