diff options
author | Alex Dupre <ale@FreeBSD.org> | 2019-07-01 07:43:32 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2019-07-01 07:43:32 +0000 |
commit | 62d9035f5b016ebc4dbe26071a728eda584ca86e (patch) | |
tree | 50ab75c695a190b9e191035ab244d157057d1958 /audio/amarok | |
parent | c63bb569e8c40940c49b9f35bd9aa9291449781f (diff) | |
download | ports-62d9035f5b016ebc4dbe26071a728eda584ca86e.tar.gz ports-62d9035f5b016ebc4dbe26071a728eda584ca86e.zip |
Notes
Diffstat (limited to 'audio/amarok')
-rw-r--r-- | audio/amarok/Makefile | 3 | ||||
-rw-r--r-- | audio/amarok/files/patch-cmake_modules_FindMySQL.cmake | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile index 0e1eb953ef32..aac2a44c3cb6 100644 --- a/audio/amarok/Makefile +++ b/audio/amarok/Makefile @@ -19,7 +19,8 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \ libqjson-qt5.so:devel/qjson \ libqca-qt5.so:devel/qca \ libtag.so:audio/taglib \ - libtag-extras.so:audio/taglib-extras + libtag-extras.so:audio/taglib-extras \ + liblz4.so:archivers/liblz4 USES= cmake compiler:c++11-lang desktop-file-utils \ kde:5 mysql:client,embedded pkgconfig qt:5 shebangfix ssl diff --git a/audio/amarok/files/patch-cmake_modules_FindMySQL.cmake b/audio/amarok/files/patch-cmake_modules_FindMySQL.cmake new file mode 100644 index 000000000000..5e9c57bc93a5 --- /dev/null +++ b/audio/amarok/files/patch-cmake_modules_FindMySQL.cmake @@ -0,0 +1,25 @@ +--- cmake/modules/FindMySQL.cmake.orig 2019-06-14 07:24:31 UTC ++++ cmake/modules/FindMySQL.cmake +@@ -31,21 +31,7 @@ if(MYSQLCONFIG_EXECUTABLE) + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + +- execute_process( +- COMMAND ${MYSQLCONFIG_EXECUTABLE} --libmysqld-libs +- RESULT_VARIABLE MC_return_embedded +- OUTPUT_VARIABLE MC_MYSQL_EMBEDDED_LIBRARIES +- OUTPUT_STRIP_TRAILING_WHITESPACE +- ) +- +- if(NOT MC_MYSQL_EMBEDDED_LIBRARIES) +- # At least on OpenSUSE --libmysql-libs doesn't exist, so we just use +- # MYSQL_LIBRARIES for that. We'll see if that's enough when testing +- # below. +- set(MYSQL_EMBEDDED_LIBRARIES ${MYSQL_LIBRARIES}) +- else() +- set(MYSQL_EMBEDDED_LIBRARIES ${MC_MYSQL_EMBEDDED_LIBRARIES}) +- endif() ++ set(MYSQL_EMBEDDED_LIBRARIES "-L/usr/local/lib/mysql" -lmysqld -llz4) + endif() + + # Try searching manually via find_path/find_library, possibly with hints |