void-packages/srcpkgs/stepmania/patches/flags.patch
Michael Aldridge 04fb38b2c1 New package: stepmania-5.0.12
Closes: #4777 [via git-merge-pr]
2016-09-18 14:48:27 -04:00

14 lines
441 B
Diff

--- CMakeLists.txt.orig 2016-09-15 01:51:53.168404310 -0500
+++ CMakeLists.txt 2016-09-15 16:00:14.326726871 -0500
@@ -4,6 +4,11 @@
include (StepmaniaCore.cmake)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXXFLAGS}")
+set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${LDFLAGS}")
+set(WITH_MINIMAID OFF)
+set(CMAKE_INSTALL_PREFIX "${DESTDIR}/opt")
+
# The external libraries need to be included.
add_subdirectory(extern)