Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 116806

Summary: patch-2.5.9.ebuild: line 24: is-ldflags: command not found
Product: Gentoo Linux Reporter: Carlo Marcelo Arenas Belon <carenas>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add inherit of ccc eclass so that is-ldflags gets defined correctly

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