aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2017-02-01 04:32:46 +0800
committertijl <tijl@FreeBSD.org>2017-02-01 04:32:46 +0800
commit5e653701c5c9857ab8496ab1b93b83ce5a76b3c9 (patch)
tree49ce44339ae8f11d10dc5cc12260367cb7a53f19 /Mk
parent72abec3baf65f796416fa6eacadf60f63d516a24 (diff)
downloadfreebsd-ports-gnome-5e653701c5c9857ab8496ab1b93b83ce5a76b3c9.tar.gz
freebsd-ports-gnome-5e653701c5c9857ab8496ab1b93b83ce5a76b3c9.tar.zst
freebsd-ports-gnome-5e653701c5c9857ab8496ab1b93b83ce5a76b3c9.zip
Enable i386 support to Linux CentOS 7 ports.
PR: 216646
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/linux.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index b7f0127ecedc..e7f94cb01594 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -50,6 +50,8 @@ IGNORE= Linux CentOS ${LINUX_DIST_VER} is unsupported on ${ARCH}
LINUX_DIST_VER?= 7.3.1611
.if ${ARCH} == amd64
LINUX_ARCH= x86_64
+.elif ${ARCH} == i386
+LINUX_ARCH= i386
.else
LINUX_ARCH= ${ARCH}
IGNORE= Linux CentOS ${LINUX_DIST_VER} is unsupported on ${ARCH}
@@ -238,7 +240,7 @@ DISTFILES_amd64?= ${LIB_DISTNAMES:S/$/${EXTRACT_SUFX_amd64}/} \
.endif
.endif
.if !(defined(ONLY_FOR_ARCHS) && empty(ONLY_FOR_ARCHS:Mi386)) \
- && empty(NOT_FOR_ARCHS:Mi386) && ${linux_ARGS} != c7
+ && empty(NOT_FOR_ARCHS:Mi386)
DISTFILES_i386?= ${LIB_DISTNAMES:S/$/${EXTRACT_SUFX_i386}:amd64,i386/} \
${BIN_DISTNAMES:S/$/${EXTRACT_SUFX_i386}:i386/} \
${SHARE_DISTNAMES:S/$/${EXTRACT_SUFX_noarch}/}