trackballs: respect our CPP
This commit is contained in:
parent
33e7382bea
commit
1800fb667d
2 changed files with 14 additions and 1 deletions
13
srcpkgs/trackballs/patches/respect-our-cpp.patch
Normal file
13
srcpkgs/trackballs/patches/respect-our-cpp.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Index: CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- CMakeLists.txt.orig
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -66,7 +66,7 @@ endforeach()
|
||||||
|
|
||||||
|
# cpp is the c++ preprocessor
|
||||||
|
add_custom_command(OUTPUT guile.cc.x
|
||||||
|
- COMMAND CPP=cpp; ${GUILE_SNARF} -o guile.cc.x ${PROJECT_SOURCE_DIR}/src/guile.cc ${defstr} ${incstr} -D_GNU_SOURCE=1 -D_REENTRANT
|
||||||
|
+ COMMAND ${GUILE_SNARF} -o guile.cc.x ${PROJECT_SOURCE_DIR}/src/guile.cc ${defstr} ${incstr} -D_GNU_SOURCE=1 -D_REENTRANT
|
||||||
|
DEPENDS src/guile.cc
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
|
@ -3,7 +3,7 @@ pkgname=trackballs
|
||||||
version=1.3.1
|
version=1.3.1
|
||||||
revision=2
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="gettext guile"
|
hostmakedepends="gettext guile pkg-config"
|
||||||
makedepends="zlib-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel guile-devel"
|
makedepends="zlib-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel guile-devel"
|
||||||
depends="guile"
|
depends="guile"
|
||||||
short_desc="Marble steering game"
|
short_desc="Marble steering game"
|
||||||
|
|
Loading…
Reference in a new issue