aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/linux.mk
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-01-31 20:32:46 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2017-01-31 20:32:46 +0000
commitd0d15cc5cd4ad213aa0991d8689c143b10382481 (patch)
tree49ce44339ae8f11d10dc5cc12260367cb7a53f19 /Mk/Uses/linux.mk
parentb03862a77cbfebc1a45e2adb814b0fc2600d4559 (diff)
downloadports-d0d15cc5cd4ad213aa0991d8689c143b10382481.tar.gz
ports-d0d15cc5cd4ad213aa0991d8689c143b10382481.zip
Enable i386 support to Linux CentOS 7 ports.
PR: 216646
Notes
Notes: svn path=/head/; revision=432953
Diffstat (limited to 'Mk/Uses/linux.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}/}