diff --git multimedia/musikcube/Makefile multimedia/musikcube/Makefile index 11fd9fe93c71..454a693a0e3c 100644 --- multimedia/musikcube/Makefile +++ multimedia/musikcube/Makefile @@ -2,7 +2,7 @@ PORTNAME= musikcube DISTVERSION= 0.96.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio MAINTAINER= yuri@FreeBSD.org @@ -24,11 +24,21 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libtag.so:audio/taglib \ libvorbis.so:audio/libvorbis -USES= cmake:noninja compiler:c++14-lang ncurses:port pkgconfig ssl # ncurses:port was changed to base by bug#249572, but this caused it to abort (bug#252817) and was reverted +USES= cmake:noninja compiler:c++14-lang pkgconfig ssl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= clangen +LDFLAGS+= -lncursesw -lpanelw -ltinfow + +.include + +.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079 +USES+= ncurses +.else +USES+= ncurses:port +CFLAGS+= -I${LOCALBASE}/include/ncurses +.endif .include