diff options
Diffstat (limited to 'security/clamav')
-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 |