1 |
I've tried portage-utils-0.1.27-r1 on ~x86-macos and it seems |
2 |
successful with some modifications to the ebuild and patches. |
3 |
I attach those files. |
4 |
|
5 |
The uncertain point is the next line of makefile-ld.patch (I named it |
6 |
so when I modified the original makefile.patch): |
7 |
|
8 |
+LDFLAGS += $(ld --export-dynamic 2>&1 | fgrep -v unknown > /dev/null && echo -Wl,--export-dynamic) $(ld -dynamic 2>&1 | fgrep -v unrecognized > /dev/null && echo -Wl,-dynamic) |
9 |
|
10 |
which was just |
11 |
|
12 |
+LDFLAGS += -Wl,--export-dynamic |
13 |
|
14 |
in the original, but --export-dynamic doesn't work with ld on OS X. |
15 |
I set -dynamic instead, and I wonder whether it was correct or not. |
16 |
|
17 |
-- |
18 |
MATSUI "Fe2+" Tetsushi |