Index: head/multimedia/musikcube/Makefile =================================================================== --- head/multimedia/musikcube/Makefile (revision 561887) +++ head/multimedia/musikcube/Makefile (revision 561888) @@ -1,34 +1,45 @@ # $FreeBSD$ PORTNAME= musikcube DISTVERSION= 0.96.3 +PORTREVISION= 1 CATEGORIES= multimedia audio MAINTAINER= yuri@FreeBSD.org COMMENT= Terminal-based music player, audio engine, metadata indexer, server LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libboost_system.so:devel/boost-libs \ libcurl.so:ftp/curl \ libev.so:devel/libev \ libfaad.so:audio/faad \ libFLAC.so:audio/flac \ libmicrohttpd.so:www/libmicrohttpd \ libmp3lame.so:audio/lame \ libogg.so:audio/libogg \ libsndio.so:audio/sndio \ libtag.so:audio/taglib \ libvorbis.so:audio/libvorbis -USES= cmake:noninja compiler:c++14-lang ncurses:port pkgconfig ssl +USES= cmake:noninja compiler:c++14-lang pkgconfig ssl + USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= clangen CMAKE_ARGS= -DNCURSES_LIBRARIES="cursesw;tinfow;panelw" + +.include + +.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079 +USES+= ncurses +.else +USES+= ncurses:port +CFLAGS+= -I${LOCALBASE}/include/ncurses +.endif .include Index: head/multimedia/musikcube/files/patch-src_musikcube_CMakeLists.txt =================================================================== --- head/multimedia/musikcube/files/patch-src_musikcube_CMakeLists.txt (nonexistent) +++ head/multimedia/musikcube/files/patch-src_musikcube_CMakeLists.txt (revision 561888) @@ -0,0 +1,11 @@ +--- src/musikcube/CMakeLists.txt.orig 2021-01-17 23:53:19 UTC ++++ src/musikcube/CMakeLists.txt +@@ -83,7 +83,7 @@ set_target_properties(musikcube PROPERTIES LINK_FLAGS + + if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD") + find_package(PkgConfig) +- pkg_check_modules(NCURSES REQUIRED ncursesw panelw) ++ pkg_check_modules(NCURSES ncursesw panelw) + target_link_libraries(musikcube ${musikcube_LINK_LIBS} ${NCURSES_LIBRARIES} musikcore) + else() + target_link_libraries(musikcube ${musikcube_LINK_LIBS} curses panel musikcore) Property changes on: head/multimedia/musikcube/files/patch-src_musikcube_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property