dev-db/mysql-workbench: fix build

This commit is contained in:
Julian Ospald 2017-03-17 10:32:08 +01:00
parent 2a65f6b04e
commit c960d508de
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -62,6 +62,13 @@ src_prepare() {
edo install -D "${FETCHEDDIR}"/antlr-3.4-complete.jar \
"${WORKBASE}"/linux-res/bin/antlr-3.4-complete.jar
# fix gdal includes
edo sed -i \
-e 's|#include <gdal/|#include <|' \
"${CMAKE_SOURCE}"/backend/wbpublic/grt/*.h \
"${CMAKE_SOURCE}"/backend/wbpublic/grtui/*.h \
"${CMAKE_SOURCE}"/backend/wbpublic/objimpl/db.query/*.cpp
# fix python detection
edo sed -i \
-e '/find_package(PythonLibs 2.6)/d' \