From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <jvmatthe@math.duke.edu>
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,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=unavailable
	autolearn_force=no version=4.0.0
Received: from math.duke.edu (augustus.math.duke.edu [152.3.25.8])
	by chiba.3jane.net (Postfix) with ESMTP id 621B8ABD9A
	for <gentoo-dev@gentoo.org>; Fri, 26 Jul 2002 09:54:38 -0500 (CDT)
Received: from ph4tp1p3 (ph4tp1p3 [152.3.25.77])
	by math.duke.edu (8.11.6/8.11.6) with ESMTP id g6QEsUM27678
	for <gentoo-dev@gentoo.org>; Fri, 26 Jul 2002 10:54:30 -0400
From: John Matthews <jvmatthe@math.duke.edu>
To: gentoo-dev@gentoo.org
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature";
	boundary="=-qZn4Hk1dKpCvVcSTi/tG"
X-Mailer: Ximian Evolution 1.0.5 (1.0.5-5) 
Date: 26 Jul 2002 10:54:30 -0400
Message-Id: <1027695270.2327.8.camel@ph4tp1p3>
Mime-Version: 1.0
Subject: [gentoo-dev] ebuild question
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
List-Help: <mailto:gentoo-dev-request@gentoo.org?subject=help>
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Subscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@gentoo.org?subject=subscribe>
List-Id: Gentoo Linux developer list <gentoo-dev.gentoo.org>
List-Unsubscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@gentoo.org?subject=unsubscribe>
List-Archive: <http://lists.gentoo.org/pipermail/gentoo-dev/>
X-Archives-Salt: 7282881b-006e-45f5-8a9e-413df8533daa
X-Archives-Hash: cbc7c8265b7d26e065c603d2226b2246

--=-qZn4Hk1dKpCvVcSTi/tG
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I finally got a Crystal Space ebuild that I can deal with. Unf. there is
one step I need assistance with.

When issuing a "make install", the system looks at either the default
destination directory or the one you set. I've been trying
/usr/local/crystal and if I use that, then "make install" gets a sandbox
violation. If, however, I use ${D}/usr/local/crystal then it installs
but right before that step it rewrites the cs-config script (like
sdl-config, gtk-config, etc.) to say that the location of the CS libs
and headers is /var/tmp/portage/crystal-0.94-r2/image//usr/local/crystal
(or something like that, I don't have it in front of me right now). Of
course, that'll be a bogus location when the package is actually
installed.

Do I need to do some sed magic to fix that somehow, by twiddling with
the cs-config file that's been installed in the image? Or is there some
sort of standard clever way to get around this problem with
non-./configure-style packages?

Random other info:
Meanwhile, I'm still in a position where I can't build optimized builds
with gcc 3.x and I can't use assembler at all. I've been told that CS
requires a special version of nasm or something like that, but haven't
found a direct reference for what works yet. Building a debug build with
no assembler gets me a working install image, I believe, on gcc 3.x and
gcc 2.95.

Regards and thanks,
matt

--=20
Matt Matthews     \ ph: 919.660.2811        \ Use GNU/Linux  _o) w00t
Duke Univ., Postdoc\ jvmatthe@math.duke.edu  \____________   /\\
Dept. of Mathematics\ http://www.math.duke.edu/~jvmatthe/ \ _\_V

--=-qZn4Hk1dKpCvVcSTi/tG
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA9QWKmAzdCRH5YuI4RAtQAAJ95ecr6QjNYfAH4IZqkBa+bNGXB5QCcCJAI
17rV+VD1R+vwma4Qf0OcRzg=
=fQZh
-----END PGP SIGNATURE-----

--=-qZn4Hk1dKpCvVcSTi/tG--