Bug 196901 - devel/zpu-binutils chokes on CC=/nxb-bin/usr/bin/cc
Summary: devel/zpu-binutils chokes on CC=/nxb-bin/usr/bin/cc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-19 17:51 UTC by Sean Bruno
Modified: 2015-01-20 00:34 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (db)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Bruno freebsd_committer freebsd_triage 2015-01-19 17:51:17 UTC
I don't think the sed syntax is quite right in this port post-patch to handle the case where CC is an absolute path to a compiler.  This breaks cross compilation for this port.

http://chips.ysv.freebsd.org/data/11armv6-11armv6/2015-01-19_15h28m19s/logs/errors/zpu-binutils-1.0.log
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-19 17:51:17 UTC
Auto-assigned to maintainer db@FreeBSD.org
Comment 2 Diane Bruce freebsd_committer freebsd_triage 2015-01-20 00:33:30 UTC
Oops. Fixed!
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-01-20 00:34:06 UTC
A commit references this bug:

Author: db
Date: Tue Jan 20 00:33:17 UTC 2015
New revision: 377492
URL: https://svnweb.freebsd.org/changeset/ports/377492

Log:
  Fix sed command to not break on absolute path names in CC

  PR:		196901
  Submitted by:	sbruno

Changes:
  head/devel/zpu-binutils/Makefile