summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-12-10 12:17:57 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-12-10 12:17:57 +0000
commit592366b249ce107fcc8d501d37716b1638c76acb (patch)
tree831da2ed3f65c98c0d14728944255c66214992e4 /audio
parentUpdate to 0.7.17 (diff)
audio/sayonara: unbreak on 9.x
-- Performing Test CXX_CAN_11 -- Performing Test CXX_CAN_11 - Failed -- Performing Test CXX_CAN_0X -- Performing Test CXX_CAN_0X - Failed CMake Error at src/CMakeLists.txt:43 (FATAL_ERROR): Unknown CMake command "FATAL_ERROR". Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=428281
Diffstat (limited to 'audio')
-rw-r--r--audio/sayonara/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/sayonara/Makefile b/audio/sayonara/Makefile
index ff69726ecb26..b27a3b9eea96 100644
--- a/audio/sayonara/Makefile
+++ b/audio/sayonara/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/license.txt
LIB_DEPENDS= libtag.so:audio/taglib
-USES= cmake execinfo pkgconfig
+USES= cmake compiler:c++11-lib execinfo pkgconfig
USE_GSTREAMER1= flac mpg123 ogg opus vorbis # XXX: likely incomplete
USE_QT5= dbus core gui network sql widgets xml \
buildtools_build qmake_build linguisttools_build
@@ -28,5 +28,9 @@ post-patch:
${WRKSRC}/resources/CMakeLists.txt
@${REINPLACE_CMD} -e '/DESTINATION/s,/usr/,,' \
${WRKSRC}/src/GUI/Resources/Icons/CMakeLists.txt
+.if !exists(/usr/libdata/pkgconfig/zlib.pc)
+ @${REINPLACE_CMD} -e '/zlib/s/PKG_CHECK_MODULES/FIND_PACKAGE/' \
+ ${WRKSRC}/src/Helper/Compressor/CMakeLists.txt
+.endif
.include <bsd.port.mk>