From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from supermail.mweb.co.za (supermail.mweb.co.za [196.2.53.171]) by chiba.3jane.net (Postfix) with ESMTP id E6DFA25975 for ; Sun, 13 Jan 2002 12:46:37 -0600 (CST) Received: from [196.30.179.97] (helo=nosferatu.lan) by supermail.mweb.co.za with esmtp (Exim 3.22 #1) id 16PpVh-0000Hw-00 for gentoo-dev@gentoo.org; Sun, 13 Jan 2002 20:37:37 +0200 Subject: Re: [gentoo-dev] link or patch? From: Martin Schlemmer To: Gentoo-Dev In-Reply-To: <1010949721.20185.2.camel@server.g2.org> References: <200201131639.g0DGd2m08740@math.Princeton.EDU> <1010949721.20185.2.camel@server.g2.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-OkKyaoSGlaj9n975MjeD" X-Mailer: Evolution/1.0 (Preview Release) Date: 13 Jan 2002 20:47:29 +0200 Message-Id: <1010947650.8536.4.camel@nosferatu.lan> Mime-Version: 1.0 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: e1201f3b-3f84-41ac-b5f8-8b101f0b7d1c X-Archives-Hash: 5bc597ab7a50d9e774bfb6edecb2cb54 --=-OkKyaoSGlaj9n975MjeD Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2002-01-13 at 21:22, Grant Goodyear wrote: > > Some packages look for files in the wrong place, e.g. /usr/include/libx= ml > > 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? >=20 > In general we prefer to patch the Makefiles (or add the correct flag > to ./configure). >=20 You can also do something like: src_compile(){ CFLAGS=3D"${CFLAGS} -I/usr/include/libxml2" ./configure ...... } Greetings, --=20 Martin Schlemmer Gentoo Linux Developer, Desktop Team Developer Cape Town, South Africa --=-OkKyaoSGlaj9n975MjeD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8QdZBlsNeMtCTD6kRAlF6AJ9jR8Jk/KRFovr1mgtL/OZKcPlwQgCfS6ZU Nq2Y3tZh31w/LMgOgLtEaH4= =40N3 -----END PGP SIGNATURE----- --=-OkKyaoSGlaj9n975MjeD--