Removed some unecessary substitute call and trying to fix naming collision.

main
Jacob Sowder 1 year ago
parent 9e3498d43e
commit af1c19905a

@ -195,7 +195,7 @@ strife, chex quest, and fan-created games like harmony, hacx and freedoom.")
(define-public my-barony
(package
(name "barony")
(name "my-barony")
(version "open-al-refresh")
(source
(origin
@ -223,13 +223,7 @@ strife, chex quest, and fan-created games like harmony, hacx and freedoom.")
"-DFMOD_ENABLED=OFF" ; enable sound
"-DEDITOR_EXE_NAME=barony-editor") ; instead of generic "editor"
#:tests? #f ; there are no tests
#:phases
(modify-phases %standard-phases
(add-before 'configure 'fix-installation
(lambda _
(substitute* "CMakeLists.txt"
(("\\$\\{CMAKE_SOURCE_DIR\\}/books")
"${CMAKE_CURRENT_BINARY_DIR}/books")))))))
))
(inputs
(list glu
libpng

Loading…
Cancel
Save