diff options
author | drochner <drochner> | 2002-01-28 11:51:23 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-01-28 11:51:23 +0000 |
commit | 11668c6035bbb370beec7c8e2be5bfc84021b9b5 (patch) | |
tree | 7a774146b3929db48e99d9a5cad7439f8752a18e /lang/python20/Makefile | |
parent | dfb91791705986ce6aab49d795949b2e25be3a1f (diff) | |
download | pkgsrc-11668c6035bbb370beec7c8e2be5bfc84021b9b5.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 |