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

Bug 335159

Summary: net-misc/rdate does not respect LDFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: QA CC: esigra
Priority: High Flags: robbat2: Bugday+
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: Build log
Patch to rdate-1.4-r3.ebuild to address LDFLAGS and do general cleanup
updated ebuild

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-29 22:19:17 UTC
See attached build log.

(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-29 22:19:29 UTC
Created attachment 245272 [details]
Build log
Comment 2 Kevin Pyle 2010-08-29 22:57:48 UTC
Created attachment 245279 [details, diff]
Patch to rdate-1.4-r3.ebuild to address LDFLAGS and do general cleanup

This patch makes the following changes:

- Drop assignment of CFLAGS, so that emake does not need to provide an override.
- Drop rule for building rdate, so that the more comprehensive builtin rule applies.  The explicit rule did not use $LDFLAGS, but the implicit rule does.
- Fix install to be $DESTDIR aware, so that the prefix-override hack used in src_install can be removed.
- Use tc-export CC, so that cross-compilation works.
- Drop unnecessary -j1 in emake install.
Comment 3 Michael Mair-Keimberger (iamnr3) 2013-03-02 17:24:08 UTC
Created attachment 340780 [details]
updated ebuild

Updated ebuild (with an slightly modified patch from Kevin Pyle included) for rdate which bumps it to eapi 5.
Comment 4 Aaron W. Swenson gentoo-dev 2013-03-02 18:18:22 UTC
*rdate-1.4-r4 (02 Mar 2013)

  02 Mar 2013; Aaron W. Swenson <titanofold@gentoo.org>
  -files/rdate-initd-1.4-r2, +rdate-1.4-r4.ebuild, -files/rdate-initd:
  Fix bug 335159. Thanks Kevin Pyle and Michael Mair-Keimberger. Clean out
  cruft.