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

Bug 490396

Summary: dev-lang/perl eblits v50160001: add AIX support
Product: Gentoo Linux Reporter: Michael Haubenwallner (RETIRED) <haubi>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: AIX support

Description Michael Haubenwallner (RETIRED) gentoo-dev 2013-11-04 15:15:21 UTC
Created attachment 362566 [details, diff]
AIX support

@Perl: Need this patch for dev-lang/perl-5.16.3 in Prefix for AIX, OK?

@Prefix: Writing a local function to perform the scanelf-like checks is possible, but IMO will just reduce readability - as it would be:

scanxcoff() {
  if [[ -r ${3}/. ]] ; then
    dump -o "${3}"/*
  else
    dump -o "${3}"
  fi 2>/dev/null | awk '/^Magic/{print $ 3}'
}

Thanks!
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2013-11-18 11:36:13 UTC
Without complaints, I plan to commit this by the end of this week.
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2013-11-22 08:56:21 UTC
done.