summaryrefslogtreecommitdiff
path: root/devel/axmldec
diff options
context:
space:
mode:
Diffstat (limited to 'devel/axmldec')
-rw-r--r--devel/axmldec/Makefile5
-rw-r--r--devel/axmldec/files/patch-CMakeLists.txt2
2 files changed, 3 insertions, 4 deletions
diff --git a/devel/axmldec/Makefile b/devel/axmldec/Makefile
index 296c6a698954..1bdd72803e65 100644
--- a/devel/axmldec/Makefile
+++ b/devel/axmldec/Makefile
@@ -12,10 +12,9 @@ COMMENT= Stand-alone binary AndroidManifest.xml decoder
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libboost_system.so:devel/boost-libs
+LIB_DEPENDS= libboost_system.so:devel/boost-libs
-USES= cmake compiler:c++14-lang cpe pkgconfig
+USES= cmake compiler:c++14-lang cpe minizip:ng pkgconfig
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
GH_ACCOUNT= ytsutano
diff --git a/devel/axmldec/files/patch-CMakeLists.txt b/devel/axmldec/files/patch-CMakeLists.txt
index 4a5a5a0e1d34..7cc844ff36d5 100644
--- a/devel/axmldec/files/patch-CMakeLists.txt
+++ b/devel/axmldec/files/patch-CMakeLists.txt
@@ -9,7 +9,7 @@
-
+ include (FindPkgConfig)
+ if (PKG_CONFIG_FOUND)
-+ pkg_check_modules(MINIZIP minizip)
++ pkg_check_modules(MINIZIP minizip-ng)
+ endif()
+ include_directories(${MINIZIP_INCLUDE_DIRS})
+ find_library(MINIZIP_FROM_PORTS ${MINIZIP_LIBRARIES}