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 |