[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help porting eDuke32

From: Pierre Neidhardt
Subject: Re: Need help porting eDuke32
Date: Thu, 21 Feb 2019 20:27:18 +0100
User-agent: mu4e 1.0; emacs 26.1

Actually, sdl-config (for SDL1) seems to be equally broken.  Both are bash
scripts.  Here is an excerpt:

--8<---------------cut here---------------start------------->8---



while test $# -gt 0; do
  case "$1" in
  -*=*) optarg=`echo "$1" | LC_ALL="C" sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) optarg= ;;

  case $1 in
        # ...
      echo -I${prefix}/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
                        # ...
--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 using

We should report upstream.

Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]