freebsd-ports/dns/validns/files/patch-Makefile
Alexey Dokuchaev 53e017295e - Unbreak the build against contemporary versions of OpenSSL
- Hook provided test suite to our framework, respect CFLAGS
2020-09-08 07:30:59 +00:00

13 lines
492 B
Text

--- Makefile.orig 2014-02-11 20:08:39 UTC
+++ Makefile
@@ -1,7 +1,7 @@
# The following options seem to work fine on Linux, FreeBSD, and Darwin
-OPTIMIZE=-O2 -g
-CFLAGS=-Wall -Werror -pthread -fno-strict-aliasing
-INCPATH=-I/usr/local/include -I/opt/local/include -I/usr/local/ssl/include
+#OPTIMIZE=-O2 -g
+CFLAGS+=-Wall -Wno-unused-function -Werror -pthread
+INCPATH=-I$(LOCALBASE)/include -I$(OPENSSLINC)
CC?=cc
# These additional options work on Solaris/gcc to which I have an access