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 (define-public my-barony
(package (package
(name "barony") (name "my-barony")
(version "open-al-refresh") (version "open-al-refresh")
(source (source
(origin (origin
@ -223,13 +223,7 @@ strife, chex quest, and fan-created games like harmony, hacx and freedoom.")
"-DFMOD_ENABLED=OFF" ; enable sound "-DFMOD_ENABLED=OFF" ; enable sound
"-DEDITOR_EXE_NAME=barony-editor") ; instead of generic "editor" "-DEDITOR_EXE_NAME=barony-editor") ; instead of generic "editor"
#:tests? #f ; there are no tests #: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 (inputs
(list glu (list glu
libpng libpng

Loading…
Cancel
Save