diff options
author | drochner <drochner@pkgsrc.org> | 2002-01-28 11:51:23 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-01-28 11:51:23 +0000 |
commit | 71e65aefa48906153ca6a9b89210e2af120ca766 (patch) | |
tree | 7a774146b3929db48e99d9a5cad7439f8752a18e /lang/python20/Makefile | |
parent | 4a11bb7668aefbc2e80acab49e8b6caac5d1384c (diff) | |
download | pkgsrc-71e65aefa48906153ca6a9b89210e2af120ca766.tar.gz |
-link the math, cmath and time modules against libm to make it more
embedding friendly, as suggested in PR pkg/14520 by Jarkko Torppa
-having to touch Setup.in anyway, comment out the non-64-bit-clean
modules regularily and remove the Makefile magic which led to the
same effect
Diffstat (limited to 'lang/python20/Makefile')
-rw-r--r-- | lang/python20/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile index b1dcd529b1d..c233df347a6 100644 --- a/lang/python20/Makefile +++ b/lang/python20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/01/28 09:07:23 drochner Exp $ +# $NetBSD: Makefile,v 1.4 2002/01/28 11:51:23 drochner Exp $ # DISTNAME= Python-2.0.1 @@ -39,21 +39,17 @@ SSLFLAGS= -DUSE_SSL -I/usr/include/openssl -lssl -lcrypto .include "../../mk/bsd.prefs.mk" -# don't build modules which don't work on all platforms -NO64BIT=\# .if ${OPSYS} == "SunOS" ZOULARIS?= ${PREFIX}/bsd MODADD= -I${ZOULARIS}/include -L${ZOULARIS}/lib -R${ZOULARIS}/lib .endif pre-configure: - ${SED} -e 's,@NO64BIT@,${NO64BIT},g' \ - -e 's,@NOSHARED@,${NOSHARED},g' \ + ${SED} -e 's,@NOSHARED@,${NOSHARED},g' \ -e 's,@MODADD@,${MODADD},g' \ -e 's,@SSLFLAGS@,${SSLFLAGS},g' \ ${FILESDIR}/Setup.in >${WRKSRC}/Modules/Setup.in - ${SED} -e 's,@NO64BIT@,${NO64BIT},g' \ - -e 's,@NOSHARED@,${NOSHARED},g' \ + ${SED} -e 's,@NOSHARED@,${NOSHARED},g' \ -e 's,@MODADD@,${MODADD},g' \ ${FILESDIR}/Setup.config.in >${WRKSRC}/Modules/Setup.config.in |