summaryrefslogtreecommitdiff
path: root/net/haproxy
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-02-08 19:12:50 +0000
committerjperkin <jperkin@pkgsrc.org>2018-02-08 19:12:50 +0000
commited99eaae68a6592c3a0421adf1bd61bbb70dd26d (patch)
tree65ead04ce128b5e15db4eb042785e5fc8096acff /net/haproxy
parent55c8f86adbbe55841b4564946f429e1263c0670f (diff)
downloadpkgsrc-ed99eaae68a6592c3a0421adf1bd61bbb70dd26d.tar.gz
haproxy: Use C99.
Diffstat (limited to 'net/haproxy')
-rw-r--r--net/haproxy/Makefile3
-rw-r--r--net/haproxy/distinfo4
-rw-r--r--net/haproxy/patches/patch-Makefile16
3 files changed, 17 insertions, 6 deletions
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile
index 4978b081bcf..7c79eb87e8e 100644
--- a/net/haproxy/Makefile
+++ b/net/haproxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2018/02/02 10:05:59 adam Exp $
+# $NetBSD: Makefile,v 1.39 2018/02/08 19:12:50 jperkin Exp $
DISTNAME= haproxy-1.8.3
CATEGORIES= net www
@@ -9,6 +9,7 @@ HOMEPAGE= http://haproxy.org/
COMMENT= Reliable, high performance TCP/HTTP load balancer
LICENSE= gnu-gpl-v2
+USE_LANGUAGES= c99
USE_TOOLS+= gmake
BUILD_MAKE_FLAGS+= ADDLIB=${COMPILER_RPATH_FLAG}${PREFIX}/lib
BUILD_MAKE_FLAGS+= TARGET=${TARGET}
diff --git a/net/haproxy/distinfo b/net/haproxy/distinfo
index 637ee08cd3d..199d90a1132 100644
--- a/net/haproxy/distinfo
+++ b/net/haproxy/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.32 2018/02/02 10:05:59 adam Exp $
+$NetBSD: distinfo,v 1.33 2018/02/08 19:12:50 jperkin Exp $
SHA1 (haproxy-1.8.3.tar.gz) = dec036e3df372f1baee1f423ff6473eaa081d9b9
RMD160 (haproxy-1.8.3.tar.gz) = 79c2483955d7ce46dbbcdf98cc4d5f72bca8fd95
SHA512 (haproxy-1.8.3.tar.gz) = 6118ccbcfe07d96c2cce1a78c30db9c428f8b64e64fc3f5660392a501ecbaefdc5b10bea2f65c6bb3d8e7763b3e17db4ee34e13f689474f8243b52250e212600
Size (haproxy-1.8.3.tar.gz) = 2043861 bytes
-SHA1 (patch-Makefile) = f635093d547270603ffea8837a42a8cca2e03bdf
+SHA1 (patch-Makefile) = f82960b3ef0f4a2752fa06a04ad3b94a2d9908ae
diff --git a/net/haproxy/patches/patch-Makefile b/net/haproxy/patches/patch-Makefile
index a1f44fd7c34..cbd8d3cd6b4 100644
--- a/net/haproxy/patches/patch-Makefile
+++ b/net/haproxy/patches/patch-Makefile
@@ -1,10 +1,20 @@
-$NetBSD: patch-Makefile,v 1.2 2016/07/03 14:06:45 morr Exp $
+$NetBSD: patch-Makefile,v 1.3 2018/02/08 19:12:50 jperkin Exp $
+Specify C99.
Skip installing unnecessary documentation.
---- Makefile.orig 2016-06-26 17:41:01.000000000 +0000
+--- Makefile.orig 2017-12-30 17:13:19.000000000 +0000
+++ Makefile
-@@ -812,9 +812,6 @@ DOCUMENTATION = $(filter-out $(EXCLUDE_D
+@@ -309,7 +309,7 @@ ifeq ($(TARGET),solaris)
+ # This is for Solaris 8
+ # We also enable getaddrinfo() which works since solaris 8.
+ USE_POLL = implicit
+- TARGET_CFLAGS = -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
++ TARGET_CFLAGS = -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+ TARGET_LDFLAGS = -lnsl -lsocket
+ USE_TPROXY = implicit
+ USE_LIBCRYPT = implicit
+@@ -931,9 +931,6 @@ DOCUMENTATION = $(filter-out $(EXCLUDE_D
install-doc:
install -d "$(DESTDIR)$(DOCDIR)"