On Sat, 9 Mar 2019 17:55:43 +0100, Charlene Wendling
<juliana...@posteo.jp> wrote:

> This requires atomics at least on macppc, where it has been built 
> sucessfully [1], and probably hppa. 

Wasn't this solved on hppa with
commit 0eb74ae52d1a40be580169c2333dafaaacdb3aac
Author: jca <j...@openbsd.org>
Date:   Tue Sep 8 18:28:50 2015 +0000

    Disable the shared SSL session cache on hppa, and remove the BROKEN marker.
    
    hppa lacks the atomic ops needed for this feature.  Other archs may be
    good candidates too.
    
    ok Daniel Jakots (maintainer), juanfra@

diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile
index 83b94a7b999..2436c1829f7 100644
--- a/net/haproxy/Makefile
+++ b/net/haproxy/Makefile
@@ -1,6 +1,4 @@
-# $OpenBSD: Makefile,v 1.21 2015/09/07 22:20:52 juanfra Exp $
-
-BROKEN-hppa =  undefined reference to __sync atomic ops
+# $OpenBSD: Makefile,v 1.22 2015/09/08 18:28:50 jca Exp $
 
 COMMENT =      reliable, high performance TCP/HTTP load balancer
 
@@ -28,6 +26,10 @@ MAKE_FLAGS +=        CFLAGS="${CFLAGS} -fno-strict-aliasing" 
LDFLAGS="${LDFLAGS}"
 MAKE_FLAGS +=  CC="${CC}" LD="${CC}" TARGET="openbsd"
 MAKE_FLAGS +=  USE_OPENSSL=1 USE_PCRE=1
 
+.if ${MACHINE_ARCH:Mhppa}
+MAKE_FLAGS +=  USE_PRIVATE_CACHE=1
+.endif
+
 NO_TEST =      Yes
 LIB_DEPENDS =  devel/pcre
 


Anyway, as long as you don't break amd64 and you don't make a mess of
the Makefile, no objection from me :)

Reply via email to