Gentoo Archives: gentoo-dev

From: "William L. Thomson Jr." <wltjr@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: gentoo-x86 commit in dev-db/firebird: ChangeLog metadata.xml firebird-2.0.3.12981.0-r1.ebuild firebird-2.0.1.12855.0-r4.ebuild firebird-2.0.1.12855.0-r5.ebuild
Date: Sat, 22 Sep 2007 16:43:24
Message-Id: 1190478751.30417.12.camel@wlt.obsidian-studios.com
In Reply to: [gentoo-dev] Re: gentoo-x86 commit in dev-db/firebird: ChangeLog metadata.xml firebird-2.0.3.12981.0-r1.ebuild firebird-2.0.1.12855.0-r4.ebuild firebird-2.0.1.12855.0-r5.ebuild by Torsten Veller
1 On Sat, 2007-09-22 at 10:29 +0200, Torsten Veller wrote:
2 > * "William Thomson (wltjr)" <wltjr@g.o>:
3 > >
4 > > mkdir -p "${WORKDIR}/../etc" \
5 > ^^^^^^^^^^^^^^
6 > What is this?
7 >
8 > > "${WORKDIR}/usr" \
9 > > "${WORKDIR}/var/log/firebird" \
10 > > "${WORKDIR}/var/run/firebird"
11 > > cd "${WORKDIR}/usr"; ln -s "${WORKDIR}/${MY_P}/gen/firebird/bin"
12 > > cd "${WORKDIR}/../etc"; ln -s "${WORKDIR}/${MY_P}/gen/firebird" firebird
13 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 It's symlinks so the runtime changes as to Firebirds don't prevent the
16 build system from completing. Since the build system and normal Firebird
17 installs expect everything to be under one directory. Not split into
18 many. Nothing gets placed there, and they only act as links.
19
20 I know it's not pretty or ideal, but didn't have to many other ways to
21 go about it. At least not that I am familiar with or could think of.
22
23 > > pkg_postinst() {
24 > > # Hack to fix ownership/perms
25 > > chown -fR firebird:firebird /etc/firebird /usr/share/firebird
26 > > chmod 750 /etc/firebird
27 > >
28 >
29 > ROOT!=/ ?
30 >
31 > > pkg_config() {
32 > > cd /usr/share/firebird
33 >
34 > same
35
36 What should I be using instead? I see what your talking about wrt to
37 chroots and etc. Not even sure that's relevant or needed anymore. Was to
38 correct some past issues and hopefully can be removed ASAP.
39
40 The pkg_config part might remain not sure there.
41
42 --
43 William L. Thomson Jr.
44 Gentoo/Java

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies