From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7464 invoked by uid 1002); 10 Jul 2003 12:40:07 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 420 invoked from network); 10 Jul 2003 12:40:07 -0000 From: Alastair Tse To: gentoo-dev@gentoo.org In-Reply-To: <873cheefw9.fsf@kirk.better-com.de> References: <873cheefw9.fsf@kirk.better-com.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-xysHKXOL0f5i8owtH4Pq" Message-Id: <1057840805.8047.10.camel@huggins.eng.cam.ac.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 10 Jul 2003 13:40:05 +0100 X-Cam-ScannerAdmin: mail-scanner-support@ucs.cam.ac.uk X-Cam-AntiVirus: Not scanned X-Cam-SpamDetails: scanned, SpamAssassin (score=-7.4, required 10, EMAIL_ATTRIBUTION, IN_REP_TO, PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT, REFERENCES, REPLY_WITH_QUOTES, USER_AGENT_XIMIAN) Subject: Re: [gentoo-dev] How to fix pathnames in .ebuilds X-Archives-Salt: 16e62e8f-618d-4961-9a1b-a0752161e1ea X-Archives-Hash: 5cfe36e2d3b7d3e1acd8f4d33e7dc4eb --=-xysHKXOL0f5i8owtH4Pq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-07-10 at 13:16, Martin Lesser wrote: > econf() replaces --datadir with /usr/share. When einstall() is called > --datadir is changed to ${D}/usr/share but the depending PIXMAPS_DIR is > not changed to ${D}/usr/share/pixmaps cause it was written to the > Makefiles in the configure step before. Do the Makefiles use the variable DESTDIR ? If they do, then use: make DESTDIR=3D${D} install || die "install failed" Otherwise, it could be that a particular variable needs to be set in addition to einstall (if you choose to use it). You'll have to delve into the file, find the variable that is set to /usr/share/pixmaps and override it using something like: einstall pixmapdir=3D${D}/usr/share/pixmaps > What's the recommended and simplest way to fix such issues? The ebuild > HOWTO did not help me and also the hints in the forums could not help > me. The best way of learning is to look at how other ebuilds do it. Maybe someone can write an ebuild FAQ to document all the tricks that are in use :) Cheers, --=20 Alastair 'liquidx' Tse >> Gentoo Developer >> http://www.liquidx.net/ | http://dev.gentoo.org/~liquidx/ >> GPG Key : http://dev.gentoo.org/~liquidx/liquidx_gentoo_org.asc >> FingerPrint : 579A 9B0E 43E8 0E40 EE93 BB1C 38CE 1C7B 3907 14F6 --=-xysHKXOL0f5i8owtH4Pq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA/DV6lOM4cezkHFPYRArSjAKCgCnEpiR/DiCSYmwkOz3id37HbIQCfSYpj 0MvoPQUX5JKc8xBXzec1BZ0= =VYvc -----END PGP SIGNATURE----- --=-xysHKXOL0f5i8owtH4Pq--