summaryrefslogtreecommitdiff
path: root/lang/python31/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python31/Makefile')
-rw-r--r--lang/python31/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 1d9f646620e..ea54b260767 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2012/03/04 08:11:51 obache Exp $
+# $NetBSD: Makefile,v 1.8 2012/03/08 07:23:39 sbd Exp $
.include "dist.mk"
@@ -68,6 +68,11 @@ PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q}
+PLIST_VARS+= linux2
+.if ${PY_PLATNAME} == "linux2"
+PLIST.linux2= yes
+.endif
+
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "amd64") || \
(${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "x86_64") || \
(defined(ABI) && ${ABI} == "64")