aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2021-12-23 08:27:11 +0000
committerGleb Popov <arrowd@FreeBSD.org>2021-12-23 08:33:50 +0000
commitdb6a71f02193b7021526f17b687719133c5c1672 (patch)
tree3819492ec56fc16f745049541a7951b0df5d5c6b
parent228cab608d70398adc5aa56315ee4c3c408d2509 (diff)
downloadports-db6a71f02193b7021526f17b687719133c5c1672.tar.gz
ports-db6a71f02193b7021526f17b687719133c5c1672.zip
x11-wm/enlightenment: Enable build of armv{6,7}.
While there, turn a bunch of `.else .if` blocks into `.elif`s. PR: 260543 Reported by: Peter TKATCHENKO <peter@flytrace.com>
-rw-r--r--x11-wm/enlightenment/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/x11-wm/enlightenment/Makefile b/x11-wm/enlightenment/Makefile
index a8647896b8a6..7fa9f49d0886 100644
--- a/x11-wm/enlightenment/Makefile
+++ b/x11-wm/enlightenment/Makefile
@@ -36,21 +36,17 @@ NLS_MESON_TRUE= nls
CURRENT_ARCH= ${ARCH}
.if ${CURRENT_ARCH} == amd64
ENLIGHTENMENT_ARCH= ${OPSYS:tl}-x86_64
-.else
-.if ${CURRENT_ARCH} == i386
+.elif ${CURRENT_ARCH} == i386
ENLIGHTENMENT_ARCH= ${OPSYS:tl}-x86
-.else
-.if ${CURRENT_ARCH:Mpowerpc64*}
+.elif ${CURRENT_ARCH:Mpowerpc64*}
ENLIGHTENMENT_ARCH= ${OPSYS:tl}-ppc64
-.else
-.if ${CURRENT_ARCH} == powerpc
+.elif ${CURRENT_ARCH} == powerpc
ENLIGHTENMENT_ARCH= ${OPSYS:tl}-ppc
+.elif ${CURRENT_ARCH:Marmv?}
+ENLIGHTENMENT_ARCH= ${OPSYS:tl}-arm
.else
ENLIGHTENMENT_ARCH= ${OPSYS:tl}-${CURRENT_ARCH}
.endif
-.endif
-.endif
-.endif
ENLIGHTENMENT_VERSION= 0.24.2
PLIST_SUB= ENLIGHTENMENT_ARCH=${ENLIGHTENMENT_ARCH}-${ENLIGHTENMENT_VERSION}