[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add extremetuxracer (Note: needs help!)
From: |
David Thompson |
Subject: |
Re: [PATCH] Add extremetuxracer (Note: needs help!) |
Date: |
Mon, 27 Apr 2015 14:14:26 -0400 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) |
Christopher Allan Webber <address@hidden> writes:
> Christopher Allan Webber writes:
>
>> 宋文武 writes:
>>
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory
>>>> '/tmp/nix-build-extremetuxracer-0.6.0.drv-0/etr-0.6.0'
>>>> Makefile:457: recipe for target 'all' failed
>>>> make: *** [all] Error 2
>>>>
>>>> sdl is an input, so I don't know what's going on...
>>>>
>>>> Sorry! I thought this one was going to be an easy package that I
>>>> wouldn't need much help on!
>>> oops, I take a deep look. It turn out that
>>> this package set the flags (for SDL, etc.) as 'CFLAGS',
>>> but it only use 'CXXFLAGS' (only have freetype) when compile cpp files.
>>> I think we can patch the Makefile after 'configure' phase, by:
>>>
>>> (substitute* "Makefile"
>>> (("CXXFLAGS =") "CXXFLAGS = ${CFLAGS)"))
>>>
>>> And better, ask upstream for a real fix :-)
>>
>> Spot on! (Well mostly! ${CFLAGS} not ${CFLAGS), I was confused for a
>> minute :)) But this was exactly what was needed! We now have a working
>> (extreme) tuxracer!
>>
>> We're a REAL distro now!
>> - cwebb
>
> Okay, Dave Thompson pointed out I should use modify-phases. Done!
Pushed. Thanks!
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate