diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-10 01:48:11 +0800 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-10 01:48:11 +0800 |
commit | da8ee64fe900da814766b3e8a1eeacfebce17c88 (patch) | |
tree | ba811251188a2e37973e4a73190495e97edd81a2 /security | |
parent | da2ab243adb87a23ffa402c8dc7ceb3b5e1b63ae (diff) | |
download | freebsd-ports-gnome-da8ee64fe900da814766b3e8a1eeacfebce17c88.tar.gz freebsd-ports-gnome-da8ee64fe900da814766b3e8a1eeacfebce17c88.tar.zst freebsd-ports-gnome-da8ee64fe900da814766b3e8a1eeacfebce17c88.zip |
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.
Diffstat (limited to 'security')
-rw-r--r-- | security/clamav/Makefile | 2 | ||||
-rw-r--r-- | security/clamav/files/patch-freshclam__Makefile.in | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile index 3a130fe07aa4..e0e07a53d59d 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -3,7 +3,7 @@ PORTNAME= clamav PORTVERSION= 0.98.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= security MASTER_SITES= SF diff --git a/security/clamav/files/patch-freshclam__Makefile.in b/security/clamav/files/patch-freshclam__Makefile.in new file mode 100644 index 000000000000..fcadc5a0525d --- /dev/null +++ b/security/clamav/files/patch-freshclam__Makefile.in @@ -0,0 +1,11 @@ +--- 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 |