bsd.perl.mk (Was: Re: _PERL_REFACTORING_COMPLETE lang/perl5.12 Mk/bsd.perl.mk)

Philip M. Gollucci pgollucci at p6m7g8.com
Thu Jul 29 04:29:51 UTC 2010


Its a bit to late for me to think about this tonight, but on quick
glance our diffs not equivalent.




On 7/29/2010 12:14 AM, Mark Linimon wrote:
> These are the results that I get on my home machine:
> 
> $ make index
> Generating INDEX-7 - please wait..make_index: thunderbird-3.0.5_1: no entry for :/home/pcvs/ports/lang
> make_index: thunderbird-3.0.5_1: no entry for :/home/pcvs/ports/lang
> make_index: thunderbird-3.0.5_1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.5.10,1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.5.10,1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.5.10,1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.6.r2_2,1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.6.r2_2,1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.6.r2_2,1: no entry for :/home/pcvs/ports/lang
> make_index: erlang-r13b04_2,1: no entry for :/home/pcvs/ports/lang
> make_index: erlang-r13b04_2,1: no entry for :/home/pcvs/ports/lang
> make_index: erlang-r13b04_2,1: no entry for :/home/pcvs/ports/lang
> make_index: erlang-r13b04_2,1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.6.4,1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.6.4,1: no entry for :/home/pcvs/ports/lang
> make_index: firefox-3.6.4,1: no entry for :/home/pcvs/ports/lang
> make_index: rakudo-2010.06,1: no entry for :/home/pcvs/ports/lang
> make_index: rakudo-2010.06,1: no entry for :/home/pcvs/ports/lang
> make_index: rakudo-2010.06,1: no entry for :/home/pcvs/ports/lang
> make_index: p5-Cflow-1.053_1: no entry for :/home/pcvs/ports/lang
> make_index: p5-Cflow-1.053_1: no entry for :/home/pcvs/ports/lang
> make_index: p5-Cflow-1.053_1: no entry for :/home/pcvs/ports/lang
> make_index: p5-Cflow-1.053_1: no entry for :/home/pcvs/ports/lang
> make_index: erlang-lite-r13b04_2,1: no entry for :/home/pcvs/ports/lang
> make_index: erlang-lite-r13b04_2,1: no entry for :/home/pcvs/ports/lang
> make_index: erlang-lite-r13b04_2,1: no entry for :/home/pcvs/ports/lang
> make_index: erlang-lite-r13b04_2,1: no entry for :/home/pcvs/ports/lang
> Warning: Duplicate INDEX entry: ap22-mod_rpaf-ap2-0.6
>  Done.
> 
> ----------------------------------------------------------------------
> 
> Here is my /etc/make.conf:
> 
> OPENSSH_OVERWRITE_BASE=yes
> WITH_APACHE2=yes
> X11BASE=${LOCALBASE}
> 
> USE_LOCAL_MK=		yes
> #BSDPORTMK?=		${PORTSDIR}/ports-mgmt/portmk/Mk/bsd.port.mk
> #BSDPORTSUBDIRMK?=	${PORTSDIR}/ports-mgmt/portmk/Mk/bsd.port.subdir.mk
> 
> PERL_VER=5.8.9
> PERL_VERSION=5.8.9
> 
> # needed for jadetex
> WITH_JADETEX=yes
> 
> (The USE_LOCAL_MK just brings in bsd.portsmon.mk, which are local
> changes to add the 'make status' target.)
> 
> ----------------------------------------------------------------------
> 
> Here is the diff I am using for bsd.port.mk (well, the relevant parts):
> 
> Index: bsd.port.mk
> ===================================================================
> RCS file: /home/FreeBSD/pcvs/ports/Mk/bsd.port.mk,v
> retrieving revision 1.643
> diff -u -r1.643 bsd.port.mk
> --- bsd.port.mk	15 Jul 2010 14:48:50 -0000	1.643
> +++ bsd.port.mk	20 Jul 2010 23:19:42 -0000
> @@ -1452,6 +1452,7 @@
>  
>  # XXX to remain undefined until all ports that require Perl are fixed
>  # to set one of the conditionals that force the inclusion of bsd.perl.mk
> +_PERL_REFACTORING_COMPLETE=	BEING_TESTED
>  .if !defined(_PERL_REFACTORING_COMPLETE)
>  
>  PERL_VERSION?=	5.10.1
> @@ -1506,9 +1507,9 @@
>  .include "${PORTSDIR}/Mk/bsd.gnustep.mk"
>  .endif
>  
> -#.if defined(USE_PERL5) || defined(USE_PERL5_BUILD) || defined(USE_PERL5_RUN) || defined(PERL_CONFIGURE) || defined(PERL_MODBUILD)
> +.if defined(USE_PERL5) || defined(USE_PERL5_BUILD) || defined(USE_PERL5_RUN) || defined(WANT_PERL) || defined(PERL_CONFIGURE) || defined(PERL_MODBUILD)
>  .include "${PORTSDIR}/Mk/bsd.perl.mk"
> -#.endif
> +.endif
>  
>  .if defined(USE_PHP)
>  .include "${PORTSDIR}/Mk/bsd.php.mk"
> @@ -2102,9 +2103,9 @@
>  .include "${PORTSDIR}/Mk/bsd.sdl.mk"
>  .endif
>  
> -#.if defined(USE_PERL5) || defined(USE_PERL5_BUILD) || defined(USE_PERL5_RUN) || defined(PERL_CONFIGURE) || defined(PERL_MODBUILD)
> +.if defined(USE_PERL5) || defined(USE_PERL5_BUILD) || defined(USE_PERL5_RUN) || defined(WANT_PERL) || defined(PERL_CONFIGURE) || defined(PERL_MODBUILD)
>  .include "${PORTSDIR}/Mk/bsd.perl.mk"
> -#.endif
> +.endif
>  
>  .if defined(USE_PHP)
>  .include "${PORTSDIR}/Mk/bsd.php.mk"
> 
> ----------------------------------------------------------------------
> 
> There is no diff on my bsd.perl.mk.
> 
> ----------------------------------------------------------------------
> 
> Unlike the last time I looked at this (20091109, with some other debug
> code inserted), the errors above seem tractable.  However, I really
> would like to understand why I get errors and other installs don't.
> 
> mcl


-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100729/d496bacf/signature.pgp


More information about the freebsd-ports mailing list