diff options
Diffstat (limited to 'lang/python22/Makefile')
-rw-r--r-- | lang/python22/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile index 0fcca37db74..77023e04b23 100644 --- a/lang/python22/Makefile +++ b/lang/python22/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/01/15 17:11:03 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2002/04/09 04:33:18 jlam Exp $ # DISTNAME= Python-2.2 @@ -11,7 +11,8 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.python.org/ COMMENT= Interpreted, interactive, object-oriented programming language -GNU_CONFIGURE= YES +USE_BUILDLINK_ONLY= YES +GNU_CONFIGURE= YES CONFIGURE_ARGS+= --without-threads INSTALL_TARGET= altinstall @@ -19,4 +20,12 @@ 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 |