Bug 155228 - [patch] security/nss unbuildable on powerpc64
Summary: [patch] security/nss unbuildable on powerpc64
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: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 14:50 UTC by Nathan Whitehorn
Modified: 2011-03-03 18:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Whitehorn freebsd_committer freebsd_triage 2011-03-03 14:50:10 UTC
In mozilla/security/coreconf/arch.mk, line 69, it assumes that uname -m returns the architecture value instead of MACHINE, making it unbuildable on platforms where these differ (pc98, powerpc64, sun4v).

Fix: 

Changing uname -m to uname -p fixes the build.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-03-03 16:50:57 UTC
Responsible Changed
From-To: freebsd-bugs->gnome

Make this a ports PR and assign.
Comment 2 Koop Mast freebsd_committer freebsd_triage 2011-03-03 17:55:24 UTC
State Changed
From-To: open->closed

Committed thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-03-03 17:55:28 UTC
kwm         2011-03-03 17:55:10 UTC

  FreeBSD ports repository

  Added files:
    security/nss/files   patch-.._coreconf_arch.mk 
  Log:
  Patch a assumtion that uname -m returns the architecture value instead of MACHINE.
  This makes it unbuildable on platforms where these differ (pc98, powerpc64, sun4v).
  Use uname -p to fix this.
  
  PR:             ports/155228
  Submitted by:   Nathan Whitehorn <nwhitehorn@FreeBSD.org>
  
  Revision  Changes    Path
  1.1       +11 -0     ports/security/nss/files/patch-.._coreconf_arch.mk (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"