- use ${MACHINE_ARCH} instead of ${ARCH} for consistency across the tree

- unbreak build on mips64 by adding it to the list of arches where llvm is disabled

ok sthen@ (MAINTAINER)
This commit is contained in:
jasper 2016-01-25 20:20:53 +00:00
parent 8c70593ec9
commit 9e2f89b552

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.102 2015/12/01 23:25:09 sthen Exp $
# $OpenBSD: Makefile,v 1.103 2016/01/25 20:20:53 jasper Exp $
COMMENT= virus scanner
DISTNAME= clamav-0.99
@ -57,7 +57,7 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" \
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/clamav
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mllvm} && ! ${ARCH:Msparc64}
.if ${PROPERTIES:Mllvm} && ! ${MACHINE_ARCH:Msparc64} && ! ${MACHINE_ARCH:Mmips64}
CONFIGURE_ARGS+= --enable-llvm
# At present (20140228 snapshot of LLVM, which is pre-3.5 but advertising a
# 3.5 version number), system LLVM does not work with ClamAV. To attempt