diff options
author | Mike Silbersack <silby@FreeBSD.org> | 2003-11-28 05:58:48 +0000 |
---|---|---|
committer | Mike Silbersack <silby@FreeBSD.org> | 2003-11-28 05:58:48 +0000 |
commit | f6e92007240a4d9f5cd57f188771564fb17dd104 (patch) | |
tree | 3549c43b1f5b0a268ed32ae3a812e507cd0faf92 /security/clamav/Makefile | |
parent | add missing dependence (diff) |
Clamav 0.65 uses libgmp for digital signature calculations;
as libgmp no longer exists in 5.x, add the needed dependency
to this Makefile.
(Note that stale gmp.h and libgmp files sitting around may
still cause problems, anyone with an "old" 5.x system that
sees oddities in the build should make sure that those old
files are purged from /usr/lib and /usr/include.)
Diffstat (limited to 'security/clamav/Makefile')
-rw-r--r-- | security/clamav/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile index 408e15866d6c..31bd6a5f9291 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -72,6 +72,12 @@ CFLAGS+= -O LDFLAGS+= -lcipher .endif +.if ${OSVERSION} > 501113 +# Approximate time libgmp was removed from the base system +LDFLAGS+= -L${LOCALBASE}/lib +LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 +.endif + .if defined(WITH_MILTER) USE_GETOPT_LONG= yes CONFIGURE_ARGS+= --enable-milter |