pkgsrc/lang/python22/Makefile
drochner 92d8164a0e update to 2.2.1
Changes:
-Added new builtin function bool() and new builtin constants True and
  False to ease backporting of code developed for Python 2.3.  In 2.2,
  bool() returns 1 or 0, True == 1, and False == 0.
-C API: A type can now inherit its metatype from its base type.
-Fixes
2002-04-15 12:13:38 +00:00

31 lines
819 B
Makefile

# $NetBSD: Makefile,v 1.3 2002/04/15 12:13:38 drochner Exp $
#
DISTNAME= Python-2.2.1
PKGNAME= python22-2.2.1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.1/
EXTRACT_SUFX= .tgz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.python.org/
COMMENT= Interpreted, interactive, object-oriented programming language
USE_BUILDLINK_ONLY= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-threads
INSTALL_TARGET= altinstall
post-extract:
${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc2.2
.include "../../devel/zlib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
# This comes after bsd.pkg.mk so that the LDFLAGS here overrides the one
# set earlier in the environment (last definition wins).
#
.if ${OBJECT_FMT} == "a.out"
MAKE_ENV+= LDFLAGS="${LDFLAGS:S/-Wl,//}"
.endif