pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/haproxy



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Aug 31 09:17:46 UTC 2021

Modified Files:
        pkgsrc/net/haproxy: Makefile

Log Message:
haproxy: Switch to DEBUG_CFLAGS.

The software depends on compiler flags (-fwrapv) for specific overflow
handling, but for some strange reason instead of appending them during
the build regardless of what the user has set CFLAGS to, it allows
CFLAGS to be overridden and aborts at runtime!  Passing in our CFLAGS
via DEBUG_CFLAGS, while not ideal, allows them to be properly combined.

Fix from goekesmi in joyent/pkgsrc#313.  Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 pkgsrc/net/haproxy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/haproxy/Makefile
diff -u pkgsrc/net/haproxy/Makefile:1.83 pkgsrc/net/haproxy/Makefile:1.84
--- pkgsrc/net/haproxy/Makefile:1.83    Fri Aug 20 05:42:53 2021
+++ pkgsrc/net/haproxy/Makefile Tue Aug 31 09:17:46 2021
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2021/08/20 05:42:53 adam Exp $
+# $NetBSD: Makefile,v 1.84 2021/08/31 09:17:46 jperkin Exp $
 
 DISTNAME=      haproxy-2.4.3
+PKGREVISION=   1
 CATEGORIES=    net www
 MASTER_SITES=  https://www.haproxy.org/download/${PKGVERSION_NOREV:R}/src/
 
@@ -13,7 +14,7 @@ USE_LANGUAGES=                c
 USE_TOOLS+=            gmake
 BUILD_MAKE_FLAGS+=     ADDLIB=${COMPILER_RPATH_FLAG}${PREFIX}/lib
 BUILD_MAKE_FLAGS+=     CC=${CC:Q}
-BUILD_MAKE_FLAGS+=     CFLAGS=${CFLAGS:Q}
+BUILD_MAKE_FLAGS+=     DEBUG_CFLAGS=${CFLAGS:Q}
 BUILD_MAKE_FLAGS+=     LDFLAGS=${LDFLAGS:Q}
 BUILD_MAKE_FLAGS+=     TARGET=${TARGET}
 BUILD_MAKE_FLAGS+=     USE_REGPARM=1



Home | Main Index | Thread Index | Old Index