From e767c8537a6431ce8343dfbddb4c5cfff550616e Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 28 Jul 2001 18:43:49 +0000 Subject: [PATCH] modernize, resp CFLAGS, use cc instead of ld for so's (ok jasoni@) --- lang/python/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lang/python/Makefile b/lang/python/Makefile index 67a94877a4c..a255b37a944 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.31 2001/07/19 18:07:14 jasoni Exp $ +# $OpenBSD: Makefile,v 1.32 2001/07/28 18:43:49 matt Exp $ COMMENT= "interpreted object-oriented programming language" COMMENT-tools= "extra tools for python" @@ -7,7 +7,7 @@ VERSION= 2.1 PKGNAME= python-${VERSION} DISTNAME= Python-${VERSION} CATEGORIES= lang -NEED_VERSION= 1.363 +NEED_VERSION= 1.405 MASTER_SITES= ftp://ftp.python.org/pub/python/${VERSION}/ EXTRACT_SUFX= .tgz @@ -37,10 +37,10 @@ LIB_DEPENDS= tk83::x11/tk/8.3 SETUP_LOCAL+= Setup.tk .endif -CONFIGURE_STYLE= gnu dest +CONFIGURE_STYLE= autoconf dest CONFIGURE_ARGS+= ${CONFIGURE_SHARED} CONFIGURE_ARGS+= --with-fpectl -MAKE_FLAGS+= OPT="${CFLAGS}" +CONFIGURE_ENV+= OPT='${CFLAGS}' LDSHARED="cc -shared -fpic" BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.a::devel/gmp @@ -106,4 +106,5 @@ finish-setup: @sed -e 's,@NOSHARED@,${NOSHARED},g' \ ${FILESDIR}/${file} >> ${WRKSRC}/Modules/Setup.local .endfor - (cd ${WRKSRC}; make Makefile) \ No newline at end of file + (cd ${WRKSRC}; make Makefile) +