Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334599 - app-arch/pure-sfv does not respect LDFLAGS
Summary: app-arch/pure-sfv does not respect LDFLAGS
Status: RESOLVED DUPLICATE of bug 246858
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2010-08-26 14:42 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-27 05:45 UTC (History)
2 users (show)

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


Attachments
Build log (pure-sfv-0.3:20100826-064009.log,5.83 KB, text/plain)
2010-08-26 14:42 UTC, Diego Elio Pettenò (RETIRED)
Details
ebuild that applies the ld flag patch (pure-sfv-0.3-r1.ebuild,907 bytes, text/plain)
2010-08-27 02:37 UTC, Ross Smith
Details
fix the makefile to respect ldflags (pure-sfv-0.3-ldflags-fix.patch,392 bytes, patch)
2010-08-27 02:37 UTC, Ross Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-26 14:42:24 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-26 14:42:37 UTC
Created attachment 244703 [details]
Build log
Comment 2 Ross Smith 2010-08-27 02:37:12 UTC
Created attachment 244837 [details]
ebuild that applies the ld flag patch
Comment 3 Ross Smith 2010-08-27 02:37:47 UTC
Created attachment 244839 [details, diff]
fix the makefile to respect ldflags
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-27 05:45:04 UTC
Had to go and actually patch the previous --as-needed patch. I don't know how that would have worked. Fixed in -r1.

Index: files/pure-sfv-0.3-asneeded.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -B -r1.1 -r1.2
--- files/pure-sfv-0.3-asneeded.patch   3 Jan 2009 17:39:34 -0000       1.1
+++ files/pure-sfv-0.3-asneeded.patch   27 Aug 2010 05:43:29 -0000      1.2
@@ -5,7 +5,7 @@
  
  pure-sfv: $(OBJ)
 -      $(CC) -lm -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ)
-+      $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ) -lm
++      $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJ) -lm
  
  PURIFY_OPTIONS=-follow-child-processes=yes -always-use-cache-dir=yes
  PURIFY=purify

*** This bug has been marked as a duplicate of bug 246858 ***