On 25/06/11 11:17AM, Stuart Henderson wrote:
> avoid overriding the default CFLAGS
> stop hardcoding -O2
> 
> ok?
>


Apologies, am in another country without testing/laptop

But the patch looks good to me.
OK aisha@


> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/py-uvloop/Makefile,v
> diff -u -p -r1.4 Makefile
> --- Makefile  29 Apr 2025 10:38:21 -0000      1.4
> +++ Makefile  11 Jun 2025 10:16:23 -0000
> @@ -1,7 +1,7 @@
>  COMMENT =            fast, drop-in replacement for asyncio event loop
> 
>  MODPY_DISTV =                0.20.0
> -REVISION =           2
> +REVISION =           3
>  DISTNAME =           uvloop-${MODPY_DISTV}
>  PKGNAME =            py-uvloop-${MODPY_DISTV}
> 
> @@ -18,8 +18,11 @@ MODPY_PI =         Yes
>  MODULES =            lang/python
>  WANTLIB +=           pthread uv
> 
> -CFLAGS =             -I${LOCALBASE}/include
> +CFLAGS +=            -I${LOCALBASE}/include
>  LDFLAGS =            -L${LOCALBASE}/lib
> +
> +# don't override opt level in CFLAGS
> +MAKE_ENV =           UVLOOP_OPT_CFLAGS=
> 
>  BUILD_DEPENDS =              lang/cython
> 
> 

Reply via email to