On Sat, Jul 25, 2020 at 03:12:19AM +0000, wen heping wrote:
> Hi, ports@:
> 
>     Here is a patch for devel/p5-MooseX-Clone to update
> its RUN_DEPENDS. Currently devel/p5-MooseX-Clone test
> fail, with this patch the tests success.

It will also package just fine without the BUILD_DEPENDS line and with
Moose being a RUN_DEPENDS, although it does throw a very scary warning
which can be silenced with:

CONFIGURE_ENV = PERL_MM_FALLBACK_SILENCE_WARNING=1

Either way is OK afresh1@


> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/p5-MooseX-Clone/Makefile,v
> retrieving revision 1.12
> diff -u -p -r1.12 Makefile
> --- Makefile  3 Jul 2020 21:45:01 -0000       1.12
> +++ Makefile  25 Jul 2020 03:08:26 -0000
> @@ -6,7 +6,7 @@ MODULES =     cpan
>  PKG_ARCH =   *
>  DISTNAME =   MooseX-Clone-0.06
>  CATEGORIES = devel
> -REVISION =   0
> +REVISION =   1
>  
>  # Perl
>  PERMIT_PACKAGE =             Yes
> @@ -14,7 +14,7 @@ PERMIT_PACKAGE =            Yes
>  RUN_DEPENDS =                devel/p5-Data-Visitor>=0.24 \
>                       devel/p5-Hash-Util-FieldHash-Compat \
>                       devel/p5-Moose>=0.74 \
> -                     devel/p5-namespace-clean
> +                     devel/p5-namespace-autoclean
>  BUILD_DEPENDS =              ${RUN_DEPENDS}
>  
>  .include <bsd.port.mk>


-- 
andrew - http://afresh1.com

Real programmers don't document.
          If it was hard to write, it should be hard to understand.

Reply via email to