From: Martin Schlemmer <azarah@gentoo.org>
To: John <list@slotcar.chicago.il.us>
Cc: Gentoo-Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] ebuild: Hard coded paths
Date: 21 May 2003 22:03:56 +0200 [thread overview]
Message-ID: <1053547436.10390.51.camel@nosferatu.lan> (raw)
In-Reply-To: <Pine.LNX.4.53.0305211446580.15184@fbeqvq.fybgpne.cei>
[-- Attachment #1: Type: text/plain, Size: 958 bytes --]
On Wed, 2003-05-21 at 21:54, John wrote:
> Hello,
>
> I am attempting to create an ebuild for ircd-hybrid. This irc server
> requires that the path to where it is installed get compiled into the
> binary. I have verified that $P does not cut it (it is the location
> of the temorary image directory).
>
> How is something like this handled in portage? Can I know during the
> build where the final destination will be? Should I just "hard code" what
> is probably the typical case?
So cant you just tell it at configure time it will be in /foo/bar, but
still install it to "$D/foo/bar" ?
Or install it by hand (dobin foo; dolib bar; etc)?
Alternative if not, you can do what we do in divx4linux:
dosed -e 's|c:\\trace_b.txt|/dev/null\x00\x00\x00\x00\x00|' \
/usr/lib/libdivxencore.so
Regards,
--
Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-05-21 20:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-21 19:54 [gentoo-dev] ebuild: Hard coded paths John
2003-05-21 20:03 ` Martin Schlemmer [this message]
2003-05-21 20:15 ` John
2003-05-21 20:05 ` Kumba
2003-05-21 20:20 ` Erik S. Johansen
2003-05-21 20:37 ` John
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1053547436.10390.51.camel@nosferatu.lan \
--to=azarah@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=list@slotcar.chicago.il.us \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox