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

Bug 449126

Summary: media-libs/harfbuzz-0.9.9: ~x64-macos prefix support
Product: Gentoo/Alt Reporter: Myk Taylor <myk002>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description Myk Taylor 2012-12-29 02:34:34 UTC
=media-libs/harfbuzz-0.9.9 is required for pango-1.32.5 but needs a tweak to build on OSX 64-bit:
  CC='x86_64-apple-darwin12-gcc -lstdc++' emerge -1 harfbuzz

note that
  CC=x86_64-apple-darwin-g++ emerge -1 harfbuzz
does not work due to compilation errors.

Reproducible: Always
Comment 1 Myk Taylor 2012-12-29 02:45:34 UTC
here's a diff for the ebuild that solves the problem in a more portable way:

--- usr/portage/media-libs/harfbuzz/harfbuzz-0.9.9.ebuild       2012-12-28 05:11:32.000000000 -0800
+++ usr/local/portage/media-libs/harfbuzz/harfbuzz-0.9.9.ebuild 2012-12-28 18:43:36.000000000 -0800
@@ -39,6 +39,7 @@
 
 src_configure() {
        econf \
+               LDFLAGS='-lstdc++' \
                $(use_enable static-libs static)
 }
Comment 2 Fabian Groffen gentoo-dev 2012-12-29 08:00:05 UTC
I thought I fixed this already.  Can you sync and post your build log?
Comment 3 Fabian Groffen gentoo-dev 2012-12-29 08:04:06 UTC
ok, confirmed, never mind the build log, nasty upstream
Comment 4 Fabian Groffen gentoo-dev 2012-12-31 21:12:10 UTC
Fixed and keyworded now, thanks