From: Martin Schlemmer <azarah@gentoo.org>
To: Gentoo-Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] link or patch?
Date: 13 Jan 2002 20:47:29 +0200 [thread overview]
Message-ID: <1010947650.8536.4.camel@nosferatu.lan> (raw)
In-Reply-To: <1010949721.20185.2.camel@server.g2.org>
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
On Sun, 2002-01-13 at 21:22, Grant Goodyear wrote:
> > Some packages look for files in the wrong place, e.g. /usr/include/libxml
> > for files which gentoo puts in /usr/include/libxml2/libxml, and don't
> > have configure options to specify the correct path. One can fix this
> > either by patching Makefiles or by creating symlinks. I normally do
> > the latter. My question is: What should one do in an ebuild? Does
> > gentoo have a policy about how to fix these packages?
>
> In general we prefer to patch the Makefiles (or add the correct flag
> to ./configure).
>
You can also do something like:
src_compile(){
CFLAGS="${CFLAGS} -I/usr/include/libxml2"
./configure ......
}
Greetings,
--
Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
prev parent reply other threads:[~2002-01-13 18:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-13 16:39 [gentoo-dev] link or patch? John Stalker
2002-01-13 19:22 ` Grant Goodyear
2002-01-13 18:38 ` Charles Kerr
2002-01-13 18:47 ` Martin Schlemmer [this message]
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=1010947650.8536.4.camel@nosferatu.lan \
--to=azarah@gentoo.org \
--cc=gentoo-dev@gentoo.org \
/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