From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Need help porting eDuke32 Date: Thu, 21 Feb 2019 20:27:18 +0100 Message-ID: <87ftshj621.fsf@ambrevar.xyz> References: <4082254.2VInIakpOu@aleksandar-ixtreme-m5740> <87pnrqxwdm.fsf@ambrevar.xyz> <3942569.6XaQy4PdK7@aleksandar-ixtreme-m5740> <87imxdj6ew.fsf@ambrevar.xyz> <87h8cxj6ab.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwu0A-0000ti-MB for help-guix@gnu.org; Thu, 21 Feb 2019 14:27:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwu09-0001sy-VC for help-guix@gnu.org; Thu, 21 Feb 2019 14:27:22 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:33487) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwu09-0001s9-Mz for help-guix@gnu.org; Thu, 21 Feb 2019 14:27:21 -0500 In-reply-to: <87h8cxj6ab.fsf@ambrevar.xyz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: HiPhish Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Actually, sdl-config (for SDL1) seems to be equally broken. Both are bash scripts. Here is an excerpt: =2D-8<---------------cut here---------------start------------->8--- #!/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh prefix=3D/gnu/store/np2g3p3k2wsjgd3g5ly3hdabls49xyq4-sdl-1.2.15 #... while test $# -gt 0; do case "$1" in -*=3D*) optarg=3D`echo "$1" | LC_ALL=3D"C" sed 's/[-_a-zA-Z0-9]*=3D//'` ;; *) optarg=3D ;; esac case $1 in # ... --cflags) echo -I${prefix}/include/SDL -D_GNU_SOURCE=3D1 -D_REENTRANT # ... =2D-8<---------------cut here---------------end--------------->8--- The paths are hard-coded. We could patch sdl-config and sdl2-config to make the path relative to the script. That would work I guess. It's a rather stupid script and I don't understand it's purpose. Why not u= sing pkg-config? We should report upstream. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlxu+5YACgkQm9z0l6S7 zH8gJwf+LoUVLoeCL4qFhNtU8S9091C2JR9duKysRItu8fWlvDZ75QyR6tt+XF2+ FsP9yAC6Q5ntWn7iQyhiYSAikUptyPDyp+SLk0BZrWPlPjErlgUQBn2kuxr7ahAA xUvgIXMyywxZesyRFGLRiI3K+AlOvuR1P9Dus5JVSCaApljx5qPcPQg5lYWOXPw0 zpV2IaDLH4XvRVeI60gzcJekHq5c/vM2INZaExZY/s8yd/+wV7AGuZg+cUWkpPu+ nLHr0MDmF+nDNPAUuAoXQVkILptb4YizTBhBEC0/f6SikLPlBXuQiJMp3m+XRh0a 72SKv/3DVYkLn+AZKctwgF7F8Kzaiw== =lNiv -----END PGP SIGNATURE----- --=-=-=--