Mk/Uses/perl.mk possible regression
Andrej Zverev
andrej.zverev at gmail.com
Sun Aug 17 19:01:00 UTC 2014
FOO = #nothing
FOO+= something
= something
so if USE_PERL5 = #nothing it will be "run build" by default, since
you overriding in before .mk file you need explicitly declare
second part. Like USE_PERL5= run build fixpacklist or USE_PERL5= run
build and USE_PERL5+= fixpacklist.
You can always check via make -VUSE_PERL5 what you'll get.
On Sun, Aug 17, 2014 at 10:32 PM, olli hauer <ohauer at gmx.de> wrote:
> Hi,
>
> what is wrong with the following USE(ES)_PERL5 statements?
>
> I have a port installing a packlist and the qa-script complains about the path in the .packlist file.
>
> So I add 'USE_PERL5+=fixpacklist' to the Makefile and lost all perl dependences.
>
> Using only
>
> test 1)
> USES= perl5
>
> $ make -V BUILD_DEPENDS
> gmake:/usr/ports/devel/gmake /usr/local/bin/perl5.16.3:/usr/ports/lang/perl5.16
>
> $ make -V RUN_DEPENDS
> /usr/local/bin/perl5.16.3:/usr/ports/lang/perl5.16
>
> => OK
>
>
> test 2)
> USES= perl5
> USE_PERL5+= fixpacklist
>
> $ make -V BUILD_DEPENDS
> gmake:/usr/ports/devel/gmake
>
> $ make -V RUN_DEPENDS
> -- nothing
>
> perl dependency is completely gone.
>
> Looking into Mk/Uses/perl5.mk the explanations is
>
> # USE_PERL5 - If set, this port uses perl5 in one or more of the extract,
> # patch, build, install or run phases. The fixpacklist is
> # needed in some cases, when a .packlist is created, it may
> # reference ${STAGEDIR}
> ...
>
>
> Any hints what's going wrong?
>
> --
> olli
> _______________________________________________
> freebsd-perl at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-perl
> To unsubscribe, send any mail to "freebsd-perl-unsubscribe at freebsd.org"
More information about the freebsd-perl
mailing list