diff options
author | wiz <wiz> | 2002-10-25 12:45:00 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-10-25 12:45:00 +0000 |
commit | 25bfb7692431000441cab3064e2e67e188de58f5 (patch) | |
tree | 755d9d4a69bfcd22c2d72d297899566e080fff9d /lang | |
parent | dcbd920dc97cf7b63e2b5e565f0bde58b8832bf2 (diff) | |
download | pkgsrc-25bfb7692431000441cab3064e2e67e188de58f5.tar.gz |
Convert to buildlink2.
Unconditionally compile in SSL support; bump PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python20/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile index c233df347a6..cbeeded07f0 100644 --- a/lang/python20/Makefile +++ b/lang/python20/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2002/01/28 11:51:23 drochner Exp $ +# $NetBSD: Makefile,v 1.5 2002/10/25 12:45:00 wiz Exp $ # DISTNAME= Python-2.0.1 PKGNAME= python20-2.0.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= lang MASTER_SITES= ftp://ftp.python.org/pub/python/2.0.1/ EXTRACT_SUFX= .tgz @@ -18,6 +18,7 @@ PLIST_SRC= ${WRKDIR}/.PLIST_SRC DIST_SUBDIR= python +USE_BUILDLINK2= yes WRKSRC= ${WRKDIR}/Python-2.0.1 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-threads @@ -29,10 +30,9 @@ MAKE_ENV+= 'OPT=${CFLAGS}' CONFIGURE_ENV+= 'OPT=${CFLAGS}' SCRIPTS_ENV+= 'OPT=${CFLAGS}' -# If Building on NetBSD 1.5, include SSL support -.if exists(/usr/include/openssl/ssl.h) -SSLFLAGS= -DUSE_SSL -I/usr/include/openssl -lssl -lcrypto -.endif +SSLFLAGS= -DUSE_SSL -I${BUILDLINK_PREFIX.openssl}/include/openssl \ + -L${BUILDLINK_PREFIX.openssl}/lib \ + -Wl,-R${BUILDLINK_PREFIX.openssl}/lib -lssl -lcrypto # Handle the module setup file: # - disable a few broken modules on 64 bit platforms (nothing important) @@ -47,7 +47,7 @@ MODADD= -I${ZOULARIS}/include -L${ZOULARIS}/lib -R${ZOULARIS}/lib pre-configure: ${SED} -e 's,@NOSHARED@,${NOSHARED},g' \ -e 's,@MODADD@,${MODADD},g' \ - -e 's,@SSLFLAGS@,${SSLFLAGS},g' \ + -e 's+@SSLFLAGS@+${SSLFLAGS}+g' \ ${FILESDIR}/Setup.in >${WRKSRC}/Modules/Setup.in ${SED} -e 's,@NOSHARED@,${NOSHARED},g' \ -e 's,@MODADD@,${MODADD},g' \ @@ -72,4 +72,5 @@ post-install: ${RM} ${PREFIX}/bin/python2.0 ${INSTALL_PROGRAM} ${WRKSRC}/python ${PREFIX}/bin/python2.0 +.include "../../security/openssl/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |