summaryrefslogtreecommitdiff
path: root/lang/python27
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-05-26 04:07:32 +0000
committerdholland <dholland@pkgsrc.org>2016-05-26 04:07:32 +0000
commit7e168a1aba244b0fb86cf8b244df92cc8a903b86 (patch)
treef20e9daa8d0c7658a3d84f1d52dd1317a66f2062 /lang/python27
parentbd723d405b16846d4c35264cde5f71523ff2fac2 (diff)
downloadpkgsrc-7e168a1aba244b0fb86cf8b244df92cc8a903b86.tar.gz
Use LP64PLATFORMS instead of a hardcoded list. PR 51166.
Fixes mips64, aargh64, and several others. XXX: make needs a better way to express this logic.
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index f4d6eb36b54..d9e1c0c8ce0 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2016/05/25 16:56:41 leot Exp $
+# $NetBSD: Makefile,v 1.60 2016/05/26 04:07:32 dholland Exp $
.include "dist.mk"
@@ -82,9 +82,7 @@ PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q}
-.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
- (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64") || \
- (${MACHINE_ARCH} == "ia64") || \
+.if !empty(LP64PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) || \
(defined(ABI) && ${ABI} == "64")
IS_64BIT_PLATFORM?= yes
.else