Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116806 - patch-2.5.9.ebuild: line 24: is-ldflags: command not found
Summary: patch-2.5.9.ebuild: line 24: is-ldflags: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-26 13:36 UTC by Carlo Marcelo Arenas Belon
Modified: 2005-12-26 16:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
add inherit of ccc eclass so that is-ldflags gets defined correctly (patch-isldflags.patch,469 bytes, patch)
2005-12-26 13:42 UTC, Carlo Marcelo Arenas Belon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlo Marcelo Arenas Belon 2005-12-26 13:36:59 UTC
this was apparently added in :

  08 May 2004; Danny van Dyk <kugelfang@gentoo.org> patch-2.5.9.ebuild:
  Filtering "-pie" from LDFLAGS and appending manually to the Makefile for amd64

and "fixed" the invocation later by QA (as seen on the ChangeLog) so it looks like :

  if use amd64 && is-ldflags -pie; then
    einfo Stripping "-pie" from LDFLAGS, adding it to Makefile manually
    filter-ldflags -pie
    append-flags -fPIC
    LDFLAGS_PIE="1"
  fi

2.5.9-r1 (which is the current ~arch) package dropped the test altogether and so is not affected.
Comment 1 Carlo Marcelo Arenas Belon 2005-12-26 13:42:23 UTC
Created attachment 75569 [details, diff]
add inherit of ccc eclass so that is-ldflags gets defined correctly
Comment 2 SpanKY gentoo-dev 2005-12-26 16:51:51 UTC
no, that crap shouldnt even exist anymore

cleaned up 2.5.9 ebuild