freebsd-ports/security/clamav/files/patch-freshclam__Makefile.in
Renato Botelho da8ee64fe9 Add a patch to fix an error many users reported. When you have an old clamav
version installed and have openssl installed from ports, clamav cannot be
built. It happened because SSL_CPPFLAGS was being set before internal includes,
so it tried to use old clamav headers.
2014-06-09 17:48:11 +00:00

11 lines
522 B
Text

--- freshclam/Makefile.in.orig 2014-06-09 10:19:33.000000000 -0300
+++ freshclam/Makefile.in 2014-06-09 10:20:12.000000000 -0300
@@ -414,7 +414,7 @@
mirman.h
AM_CFLAGS = @WERR_CFLAGS@
-AM_CPPFLAGS = @SSL_CPPFLAGS@ -I$(top_srcdir) -I$(top_srcdir)/shared -I$(top_srcdir)/libclamav @FRESHCLAM_CPPFLAGS@
+AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/shared -I$(top_srcdir)/libclamav @SSL_CPPFLAGS@ @FRESHCLAM_CPPFLAGS@
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = freshclam$(EXEEXT)
CLEANFILES = *.gcda *.gcno
all: all-am