aboutsummaryrefslogtreecommitdiff
path: root/security/clamav-devel/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2011-11-19 14:22:25 +0000
committerRenato Botelho <garga@FreeBSD.org>2011-11-19 14:22:25 +0000
commit42b72045b9a71ef368115c22a056d0857fb0911d (patch)
tree308080f0d965e209e59c24fb7b85edc906c59a4a /security/clamav-devel/Makefile
parent55812278cce79c7bcde4b0247dcfdcb22beb1d7b (diff)
downloadports-42b72045b9a71ef368115c22a056d0857fb0911d.tar.gz
ports-42b72045b9a71ef368115c22a056d0857fb0911d.zip
- Remove unecessary dependency (libcheck) when option TESTS is off [1]
- Add clamav-milter as CONFLICTS, this new meta port will be added soon PR: ports/161872 Submitted by: Alexey Markov <redrat@mail.ru> Feature safe: yes
Notes
Notes: svn path=/head/; revision=286064
Diffstat (limited to 'security/clamav-devel/Makefile')
-rw-r--r--security/clamav-devel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 439a9252e20c..4016d8d986aa 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -80,7 +80,7 @@ MAN5= clamav-milter.conf.5 \
MAN8= clamd.8 \
clamav-milter.8
-CONFLICTS= clamav-0.[0-9]*
+CONFLICTS= clamav-0.[0-9]* clamav-milter-[0-9]*
CLAMAVUSER?= clamav
CLAMAVGROUP?= clamav
@@ -192,7 +192,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-shared_output.c
CFLAGS+= -march=i486
.endif
-.if ${OSVERSION} >= 700000
+.if defined(WITH_TESTS) && ${OSVERSION} >= 700000
BUILD_DEPENDS+= ${LOCALBASE}/include/check.h:${PORTSDIR}/devel/libcheck
CONFIGURE_ARGS+=--enable-check
.else