Skip to content

Commit

Permalink
multimedia/assimp: don't build the bundled zlib but use the system one
Browse files Browse the repository at this point in the history
Building the bundled zlib causes zlibstatic references in a provided cmake file, causing breakage for reverse dependencies.

Reported by:	fluffy
  • Loading branch information
pkubaj committed Oct 31, 2023
1 parent e9e5fd4 commit be50f57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multimedia/assimp/Makefile
@@ -1,7 +1,7 @@
PORTNAME= assimp
DISTVERSIONPREFIX= v
DISTVERSION= 5.3.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= multimedia

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -18,7 +18,7 @@ USES= cmake:testing compiler:c++17-lang cpe localbase:ldflags pkgconfig # miniz
USE_GITHUB= yes
USE_LDCONFIG= yes

CMAKE_OFF= ASSIMP_BUILD_TESTS BUILD_STATIC_LIBS
CMAKE_OFF= ASSIMP_BUILD_TESTS ASSIMP_BUILD_ZLIB BUILD_STATIC_LIBS
CMAKE_ON= ASSIMP_BUILD_MINIZIP # workaround for https://github.com/assimp/assimp/issues/4374
CMAKE_TESTING_ON= ASSIMP_BUILD_TESTS
CMAKE_TESTING_TARGET= ${ALL_TARGET} # hack to avoid target
Expand Down

0 comments on commit be50f57

Please sign in to comment.