Gentoo Archives: gentoo-dev

From: Ned Ludd <solar@g.o>
To: gentoo-dev@l.g.o
Cc: betelgeuse@g.o
Subject: Re: [gentoo-dev] Announcement of The G Palmtop Environment ebuilds
Date: Thu, 05 Feb 2009 00:52:02
Message-Id: 1233795117.24954.56.camel@hangover
In Reply to: Re: [gentoo-dev] Announcement of The G Palmtop Environment ebuilds by Angelo Arrifano
1 On Thu, 2009-02-05 at 00:37 +0000, Angelo Arrifano wrote:
2 > On Qua, 2009-02-04 at 18:36 +0200, Petteri Räty wrote:
3
4 > Some packages are not automake driven. We have to detect those.
5 > >
6 > > > make DESTDIR=${D} PREFIX=/usr \
7 > > > STRIP=true ENABLE_NLS=${USE_NLS} \
8 > > > "$@" install
9 > > > fi
10 > > >
11 > >
12 > > Should use emake. Stripping should be left to the package manager.
13
14
15 STRIP=true replaces STRIP=strip while also returning a non error status.
16 This is done in order to ensure that portage handles the stripping using
17 the correct cross-strip. We also have to sed a bunch of templates out
18 that use install -s etc which always calls the wrong strip.
19
20 But STRIP=true is proper as in /bin/true without the path.
21
22 Side note I've already talked with upstream and future versions will
23 probably drop any default stripping or move towards better unification.
24
25 Thanks.