Gentoo Archives: gentoo-alt

From: MATSUI Fe2+ Tetsushi <VED03370@××××××××.jp>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [prefix][macos] portage-utils
Date: Thu, 31 May 2007 14:52:03
Message-Id: m2abvlqc66+fe2+ved03370+wl@nifty.ne.jp
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

Replies

Subject Author
Re: [gentoo-alt] [prefix][macos] portage-utils Fabian Groffen <grobian@g.o>