In various places in the ports tree, tests against ARCH are iterated

one-by-one when a pattern test would be more robust.

This consolidates the tests for 64-bit functionality.

PR:		239163
Approved by:	sunpoet (python, maintainer)
This commit is contained in:
Mark Linimon
2019-10-04 22:46:20 +00:00
parent 63cec5a9d3
commit 1633253e05

View File

@@ -88,7 +88,7 @@ PLIST_SUB+= X86_ONLY=""
PLIST_SUB+= X86_ONLY="@comment "
.endif
.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == mips64 || ${ARCH} == powerpc64 || ${ARCH} == sparc64
.if ${ARCH:M*64*}
PLIST_SUB+= 32BIT_ONLY="@comment "
.else
PLIST_SUB+= 32BIT_ONLY=""