Saturday, November 02, 2019

Re: WIP: Update of math/py-numpy to 1.16.5

On Sat, Nov 02, 2019 at 10:16:03PM +0100, Jeremie Courreges-Anglas wrote:

> To stay on the safe side, here's a simple diff for lang/python/2.7 which
> unbreaks numpy and maybe others. clang doesn't error out, gcc does.
> Why does numpy use gcc?

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/lang/python/2.7/Makefile,v
> retrieving revision 1.63
> diff -u -p -r1.63 Makefile
> --- Makefile 1 Nov 2019 17:40:08 -0000 1.63
> +++ Makefile 2 Nov 2019 21:13:16 -0000
> @@ -11,6 +11,7 @@ SHARED_LIBS = python2.7 0.0
> VERSION_SPEC = >=2.7,<2.8
>
> CONFIGURE_ARGS += --with-ensurepip=no
> +CONFIGURE_ENV += ac_cv_opt_olimit_ok=no
>
> PORTROACH = limit:^2\.7

This works for me. Shouldn't we bump REVISION though?

--Kurt

No comments:

Post a Comment