Bug 161431

Summary: lang/perl5.12: fix build on 10.0-CURRENT
Product: Ports & Packages Reporter: Jilles Tjoelker <jilles>
Component: Individual Port(s)Assignee: skv <skv>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-freebsd.sh-freebsd10 none

Description Jilles Tjoelker freebsd_committer freebsd_triage 2011-10-09 16:40:09 UTC
lang/perl5.12 does not build on 10.0-CURRENT.

Because of wrong version checks, it runs nm on /lib/libc.so.7 which does
not work, then tries ar and bld which do not work either.

In FreeBSD 1.x (no shared libraries), the nm command worked, and also in
a.out versions with shared libraries. For newer versions,
hints/freebsd.sh tries to disable running nm.

Fix: Fix the version checks in hints/freebsd.sh.

I created a separate patch file patch-freebsd.sh-freebsd10 because I
expect this to go upstream fairly soon.

This patch also fixes the build of lang/perl5.10 and lang/perl5.14.
How-To-Repeat: Try to build lang/perl5.12 on the given environment.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-10-09 16:40:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->skv

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Erwin Lansing freebsd_committer freebsd_triage 2011-10-27 10:54:27 UTC
State Changed
From-To: open->closed

COmmitted, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-10-27 10:54:27 UTC
erwin       2011-10-27 09:54:19 UTC

  FreeBSD ports repository

  Added files:
    lang/perl5.12/files  patch-freebsd.sh-freebsd10 
  Log:
  Fix build on FreeBSD 10.0
  
  PR:             161431
  Submitted by:   jilles
  Test on:        pointyhat i386-9-exp and i386-10
  
  Revision  Changes    Path
  1.1       +30 -0     ports/lang/perl5.12/files/patch-freebsd.sh-freebsd10 (new)
_______________________________________________
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"