[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-discuss
Subject:    [Bug 500] New: some SDL programs won't compile because SDL_CONFIG
From:       bugzilla-daemon () tinman ! treke ! net
Date:       2005-11-29 8:56:25
Message-ID: 20051129085625.670DC401210 () tinman ! treke ! net
[Download RAW message or body]

http://bugs.openembedded.org/show_bug.cgi?id=500

           Summary: some SDL programs won't compile because SDL_CONFIG isn't
                    set
           Product: Openembedded
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P4
         Component: Build
        AssignedTo: oe@handhelds.org
        ReportedBy: frederic.devernay@m4x.org
         QAContact: tinderbox-oe@gmx.net
                CC: frederic.devernay@m4x.org
OtherBugsDependingO 147,201
             nThis:


seen in the AM_PATH_SDL macro:
  PATH="$prefix/bin:$prefix/usr/bin:$PATH"
  AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])

since $prefix is usually /usr, configure gets the wrong sdl-config, the wrong
flags, etc...
.. unless SDL_CONFIG is set

My question is:
- should ALL .bb files for SDL programs include the line:
export SDL_CONFIG = "${STAGING_BINDIR}/sdl-config"
- or should the SDL_CONFIG variable be set in the build environment of all
programs to avoid such situations, where a package may build on some system and
break on others?

Note that if the maintainer doesn't have a native SDL installed, compilation
won't break... (this is probably what happened with libsdl-mixer, lbreakout and
supertux which I just fixed)

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
Oe@handhelds.org
https://www.handhelds.org/mailman/listinfo/oe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic