Date: Sun, 17 Aug 2014 23:00:59 +0400 From: Andrej Zverev <andrej.zverev@gmail.com> To: olli hauer <ohauer@gmx.de> Cc: Olli Hauer <ohauer@freebsd.org>, perl <perl@freebsd.org> Subject: Re: Mk/Uses/perl.mk possible regression Message-ID: <CAD5bB%2Bj3skU7D5N39mKzmcTbb2MV3eoRxzL_f9SYtT2V1CKJRA@mail.gmail.com> In-Reply-To: <53F0F536.9000708@gmx.de> References: <53F0F536.9000708@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-perl > To unsubscribe, send any mail to "freebsd-perl-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD5bB%2Bj3skU7D5N39mKzmcTbb2MV3eoRxzL_f9SYtT2V1CKJRA>