summaryrefslogtreecommitdiff
path: root/lang/python22/Makefile
diff options
context:
space:
mode:
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