trackballs: respect our CPP

This commit is contained in:
Đoàn Trần Công Danh 2021-02-21 21:12:11 +07:00
parent 33e7382bea
commit 1800fb667d
2 changed files with 14 additions and 1 deletions

View 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})

View file

@ -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"