summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd>2012-05-10 09:07:19 +0000
committersbd <sbd>2012-05-10 09:07:19 +0000
commit4f2ac517461ba704fd387ccf3bd1f018a4a2df6f (patch)
tree9c871fb3a36a7de50cc4efb70bcb427598ef3af8
parent7070243fef9604f0a43116ffa9837bd41cc42db5 (diff)
downloadpkgsrc-4f2ac517461ba704fd387ccf3bd1f018a4a2df6f.tar.gz
"sys.platform is now always 'linux2' on Linux", so set PY_PLATNAME to it.
-rw-r--r--lang/python32/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index b068a7a9413..da0505db1b6 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2012/05/06 13:12:09 obache Exp $
+# $NetBSD: Makefile,v 1.2 2012/05/10 09:07:19 sbd Exp $
.include "dist.mk"
@@ -42,6 +42,8 @@ PY_PLATNAME= ${LOWER_OPSYS:C/\..*//}
PY_PLATNAME= sunos${OS_VERSION:C/\..*//}
.elif ${OPSYS} == "HPUX"
PY_PLATNAME= hp-ux11
+.elif ${OPSYS} == "Linux"
+PY_PLATNAME= linux2
.else
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif