Bug 119688 - [PATCH] devel/mingw32-binutils: Correct ld build problem
Summary: [PATCH] devel/mingw32-binutils: Correct ld build problem
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: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-15 16:20 UTC by Naram Qashat
Modified: 2008-01-30 11:40 UTC (History)
1 user (show)

See Also:


Attachments
mingw32-binutils-2.18,1.patch (1.14 KB, patch)
2008-01-15 16:20 UTC, Naram Qashat
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naram Qashat 2008-01-15 16:20:02 UTC
When mingw32-binutils got to the genscripts.sh part of building ld,
it would fail with the message:

.././ld/genscripts.sh: 403: Syntax error: Bad substitution

I couldn't find the exact reason for this, but it was in a section
specific to bash syntax and not sh syntax.  Removing the bash portion
allows the script to complete with no issues.

Note: I do have bash installed, but my /bin/sh is not bash. So I am
      still at a loss for why it would run the bash section of the
      script.

Note 2: I didn't bump PORTREVISION because this is a minor change.

Added file(s):
- files/patch-ld-genscripts.sh

Port maintainer (lev@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-15 16:20:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lev

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-01-30 11:33:37 UTC
lev         2008-01-30 11:33:30 UTC

  FreeBSD ports repository

  Added files:
    devel/mingw32-binutils/files patch-ld-genscripts.sh 
  Log:
    Fix annoying error in `ld' build process.
  
  PR:             ports/119688
  Submitted by:   Naram Qashat
  
  Revision  Changes    Path
  1.1       +41 -0     ports/devel/mingw32-binutils/files/patch-ld-genscripts.sh (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"
Comment 3 Lev A. Serebryakov freebsd_committer freebsd_triage 2008-01-30 11:33:38 UTC
State Changed
From-To: open->closed

Committed, Thanx!