pkgsrc/net/xymon/patches/patch-build_Makefile.OSF1
spz 544cf480ee update xymon + xymonclient to 4.3.28
notable changes: OpenSSL 1.1.0 is now supported, and c-ares has been updated

While touching the package anyhow, it has been taught to pass down hardening
flags, so that the various PKGSRC_USE_ flags now have effect.
2017-09-28 10:40:35 +00:00

15 lines
422 B
Text

$NetBSD: patch-build_Makefile.OSF1,v 1.1 2017/09/28 10:40:35 spz Exp $
make sure hardening flags can be inherited
--- build/Makefile.OSF1.orig 2011-03-08 17:20:28.000000000 +0000
+++ build/Makefile.OSF1
@@ -8,7 +8,7 @@ NETLIBS =
# Compile flags for normal build
CC = cc
-CFLAGS = -g -O -D_REENTRANT $(OSDEF)
+CFLAGS += -g -O -D_REENTRANT $(OSDEF)
# Compile flags for debugging
# CFLAGS = -g -DDEBUG -D_REENTRANT