Bug 117414 - update bsd.perl.mk: fix USE_PERL5
Summary: update bsd.perl.mk: fix USE_PERL5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-23 03:00 UTC by Yen-Ming Lee
Modified: 2008-01-22 00:30 UTC (History)
0 users

See Also:


Attachments
bsd.perl.mk.diff (597 bytes, patch)
2007-10-23 03:00 UTC, Yen-Ming Lee
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yen-Ming Lee 2007-10-23 03:00:01 UTC
The minimal required Perl version can be set in many place (see USE_PERL5_STRING)
Currently, USE_PERL5 will be always overwriten to "yes" if PERL_CONFIGURE is set.

So, in some cases, for example textproc/p5-XML-Atom, USE_PERL5 (and USE_PERL5_STRING) will be overwriten, and mislead want_perl_ver and other internal variables.

The following patch is a kind of workaround, maybe not the best solution.

How-To-Repeat: 
(in perl 5.6 environment)

root@db1:/usr/ports/textproc/p5-XML-Atom [5.5-RELEASE]# make
===>  p5-XML-Atom-0.27 requires Perl  or later, install lang/perl5.8 and try again.
*** Error code 1

Stop in /usr/ports/textproc/p5-XML-Atom.

($want_perl_ver is empty ?!)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-10-23 06:49:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->linimon

bsd.perl.mk is linimon territory (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2008-01-03 17:40:05 UTC
State Changed
From-To: open->feedback

Would changing the p5-XML-Atom port to 

PERL_CONFIGURE=	5.8.5+ 

work?
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2008-01-08 18:14:41 UTC
State Changed
From-To: feedback->open

Mail to leeym is bouncing 
<leeym@db1.leeym.com>: connect to db1.leeym.com[66.79.165.131]: Connection 
refused
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-01-22 00:26:20 UTC
leeym       2008-01-22 00:26:13 UTC

  FreeBSD ports repository

  Modified files:
    textproc/p5-XML-Atom Makefile 
  Log:
  - set PERL_CONFIGURE=5.8.5+ instead
  
  PR:             117414
  Submitted by:   leeym
  Approved by:    clsung
  
  Revision  Changes    Path
  1.32      +1 -2      ports/textproc/p5-XML-Atom/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Yen-Ming Lee freebsd_committer freebsd_triage 2008-01-22 00:26:24 UTC
State Changed
From-To: open->closed

Okay, set PERL_CONFIGURE=5.8.5+ in p5-XML-Atom instead