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.)
This commit is contained in:
parent
bbce70975c
commit
f6e9200724
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94816
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user