summaryrefslogtreecommitdiff
path: root/lang/python22/Makefile
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2002-09-24 18:06:22 +0000
committertsarna <tsarna@pkgsrc.org>2002-09-24 18:06:22 +0000
commitdadf1b3e08cda8f6572cf8fc0d2cddf44502ab88 (patch)
tree8ab4ff034c8d4c6bfd24d7713279819d253adcb1 /lang/python22/Makefile
parent55622ada9a4c791bac2aa53d8f9e966041345ebf (diff)
downloadpkgsrc-dadf1b3e08cda8f6572cf8fc0d2cddf44502ab88.tar.gz
Add Zoularis/Linux support
Diffstat (limited to 'lang/python22/Makefile')
-rw-r--r--lang/python22/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index f575146cd4f..e2619435527 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/09/20 21:40:35 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2002/09/24 18:06:22 tsarna Exp $
#
DISTNAME= Python-2.2.1
@@ -13,7 +13,20 @@ COMMENT= Interpreted, interactive, object-oriented programming language
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//}
+PLIST_SRC= ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} \
+ ${PKGDIR}/PLIST.common_end
+
+CONFIGURE_ARGS+= --without-mpz --without-gdbm
+
+.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --without-threads
+.endif
+
+PLIST_SRC+=
INSTALL_TARGET= altinstall