mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
Ports: Replace the manual dosbox-staging
config.sub
patch
This commit is contained in:
parent
bbd54a5a25
commit
317ca37dc6
|
@ -10,11 +10,11 @@ launcher_name=DOSBox
|
||||||
launcher_category=Games
|
launcher_category=Games
|
||||||
launcher_command=/usr/local/bin/dosbox
|
launcher_command=/usr/local/bin/dosbox
|
||||||
icon_file=contrib/icons/dosbox-staging.ico
|
icon_file=contrib/icons/dosbox-staging.ico
|
||||||
|
use_fresh_config_sub=true
|
||||||
|
|
||||||
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
||||||
export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
||||||
|
|
||||||
pre_configure() {
|
pre_patch() {
|
||||||
run ./autogen.sh
|
run ./autogen.sh
|
||||||
run sed -i 's@irix\* \\@irix* | *serenity* \\@' config.sub
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue