Commit graph

8 commits

Author SHA1 Message Date
Lars Thegler
9680598cb0 Doc change: PERL_ARCH is *always* mach. 2008-05-28 12:38:27 +00:00
Mark Linimon
efb871fcc7 Fix the CONFIGURE_ENV anti-foot-shooting measure to have the correct
quoting.  It turns out that this is only an issue for ports that torture
CONFIGURE_ENV to run a command as well as just set the environment (often,
used to echo 'N' to fool an interactive script.)

Tested on:	pointyhat
2007-09-29 03:46:06 +00:00
Mark Linimon
e192fbdad8 Fine-tune the anti-foot-shooting measure for systems that set PERL_VERSION
in /etc/make.conf.  This did not show up on the cluster.
2007-09-26 00:36:44 +00:00
Mark Linimon
c7735b8048 Add an anti-foot-shooting measure to detect missing default Perl definition.
This can happen if bsd.perl.mk was not included before or during the
inclusion of bsd.port.pre.mk.  As of bsd.port.mk 1.586 this can't yet
happen, as bsd.perl.mk is included unconditionally, so this checkin should
be a no-op.

While here, reserve WANT_PERL for ports that conditionally depend on Perl.
WANT_PERL will need to be defined before bsd.port.pre.mk is included.
2007-09-26 00:15:26 +00:00
Mark Linimon
e5239edf5d Disable AutoInstall from trying to contact CPAN directly in the case of
a missing dependency (which is the actual underlying error).  This cures
the case of the build cluster looping indefinitely asking for user input.

Suggested by:		tobez
Regression-tested with:	devel/p5-Config-Any
2007-09-24 23:05:56 +00:00
Mark Linimon
43b5db1e28 Restore the semantics of USE_PERL and friends by moving them back to
the 'post' block from which they originally came.  This should fix the
remaining few package build errors because of conditional perl inclusion.

Pointy hat:	linimon
2007-09-13 22:10:33 +00:00
Mark Linimon
1f6376d63c Move an XXX comment to make it not show up in build logs. 2007-09-08 23:58:28 +00:00
Mark Linimon
3e644dc6bd Please welcome bsd.perl.mk, a refactoring of Perl-related code from
bsd.port.mk.  In addition, a revision shorthand has been added, e.g.,
USE_PERL5= 5.8.0+.  This syntax is implemented for the following knobs:

   USE_PERL5, USE_PERL5_RUN, USE_PERL5_BUILD, PERL_CONFIGURE and PERL_MODBUILD.

Credit also goes to sem who wrote an earlier version of this patch in
ports/55515, marcus and kris for doing earlier testing, and kuriyama and
others for additional work along the way.

Thanks to gabor@FreeBSD.org for doing all this work.

Sponsored by:	Google Summer of Code 2007
2007-09-08 00:16:27 +00:00