yoshimi: cleanup, don't overwrite CMAKE_BUILD_TYPE
This commit is contained in:
parent
43c06778ff
commit
9834775306
|
@ -0,0 +1,12 @@
|
||||||
|
Index: src/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- src/CMakeLists.txt.orig
|
||||||
|
+++ src/CMakeLists.txt
|
||||||
|
@@ -262,7 +262,6 @@ if (BuildForDebug)
|
||||||
|
set (CMAKE_CXX_FLAGS_DEBUG ${BuildOptionsDebug})
|
||||||
|
message (STATUS "DEBUG Build, flags: ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_DEBUG}")
|
||||||
|
else()
|
||||||
|
- set (CMAKE_BUILD_TYPE "Release")
|
||||||
|
set (CMAKE_CXX_FLAGS_RELEASE ${BuildOptionsRelease})
|
||||||
|
message (STATUS "RELEASE Build, flags: ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE}")
|
||||||
|
endif ()
|
|
@ -4,6 +4,7 @@ version=1.7.4
|
||||||
revision=2
|
revision=2
|
||||||
build_wrksrc=src
|
build_wrksrc=src
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
configure_args="-DCMAKE_INSTALL_DATAROOTDIR=/usr/share"
|
||||||
hostmakedepends="pkg-config fltk"
|
hostmakedepends="pkg-config fltk"
|
||||||
makedepends="boost-devel jack-devel fltk-devel fftw-devel mxml-devel cairo-devel
|
makedepends="boost-devel jack-devel fltk-devel fftw-devel mxml-devel cairo-devel
|
||||||
lv2 readline-devel ncurses-devel"
|
lv2 readline-devel ncurses-devel"
|
||||||
|
@ -17,15 +18,3 @@ checksum=27a8e33bda72aafae604e14841bed6373fc9e00ff70c98f1e13215d6a8808318
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) makedepends+=" argp-standalone";;
|
*-musl) makedepends+=" argp-standalone";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
configure_args="-DCMAKE_INSTALL_DATAROOTDIR=/usr/share"
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
sed -i 's|ncurses|ncursesw|g' CMakeLists.txt
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
i686*) ;;
|
|
||||||
x86_64*) ;;
|
|
||||||
*) sed -i -e "s|-msse -msse2 -mfpmath=sse||g" CMakeLists.txt;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue