--- src/musikcube/CMakeLists.txt	2023-09-11 10:03:12.000000000 +0800
+++ src/musikcube/CMakeLists.txt	2024-01-18 13:33:57.000000000 +0800
@@ -69,10 +69,7 @@
     ./cursespp/ToastOverlay.cpp
     ./cursespp/Window.cpp)
 
-set(musikcube_INSTALL_DIR ${HOMEBREW_PREFIX})
-if (NOT DEFINED musikcube_INSTALL_DIR)
-    set(musikcube_INSTALL_DIR ${CMAKE_INSTALL_PREFIX})
-endif()
+set(musikcube_INSTALL_DIR ${CMAKE_INSTALL_PREFIX})
 
 configure_file("musikcube.in" "musikcube" @ONLY)
 
@@ -92,7 +89,7 @@
 endif()
 
 # figure out if we have a "w" suffix or not...
-if ((${DISABLE_WIDE_NCURSES_LIB_SUFFIXES} MATCHES "true") OR ((APPLE) AND (${ENABLE_MACOS_SYSTEM_NCURSES} MATCHES "true")) OR (CMAKE_SYSTEM_NAME MATCHES "DragonFly"))
+if (${DISABLE_WIDE_NCURSES_LIB_SUFFIXES} MATCHES "true")
     message(STATUS "[ncurses] using library names *WITHOUT* 'w' prefix")
     set(CURSES_LIBRARY_NAME ncurses)
     set(PANEL_LIBRARY_NAME panel)


--- src/musikcube/cursespp/cursespp/curses_config.h	2023-09-11 10:03:12.000000000 +0800
+++ src/musikcube/cursespp/cursespp/curses_config.h	2024-01-18 13:21:51.000000000 +0800
@@ -40,7 +40,7 @@
 #undef MOUSE_MOVED
 #endif
 
-#if defined(WIN32) || defined(NO_NCURSESW) && !defined(__DragonFly__)
+#if defined(WIN32) || defined(NO_NCURSESW) && !defined(__DragonFly__) || defined(__APPLE__)
     #include <curses.h>
     #include <panel.h>
 #else
