aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-07-25 21:00:13 +0800
committerjbeich <jbeich@FreeBSD.org>2017-07-25 21:00:13 +0800
commita650ff7968d4a9aea54caf8a7299f5cb0809cc71 (patch)
tree69f3df1c4558e4255f9be6c8849e81cda33d6467
parent8f3cfe1f25a749fcb113e2a5498810253a556653 (diff)
downloadfreebsd-ports-gnome-a650ff7968d4a9aea54caf8a7299f5cb0809cc71.tar.gz
freebsd-ports-gnome-a650ff7968d4a9aea54caf8a7299f5cb0809cc71.tar.zst
freebsd-ports-gnome-a650ff7968d4a9aea54caf8a7299f5cb0809cc71.zip
multimedia/assimp: unbundle minizip
The port prefers system minizip if available but the build fails due to an inconsitency between find_package() and pkg_check_modules() about whether _LIBRARIES should contain absolute paths. /usr/bin/ld: cannot find -lminizip c++: error: linker command failed with exit code 1 (use -v to see invocation) https://gitlab.kitware.com/cmake/cmake/issues/15804 PR: 220889 Reported by: vvd@unislabs.com Submitted by: yuri@rawbw.com (maintainer, based on)
-rw-r--r--multimedia/assimp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/assimp/Makefile b/multimedia/assimp/Makefile
index e04c7123f8d1..601eb22acd88 100644
--- a/multimedia/assimp/Makefile
+++ b/multimedia/assimp/Makefile
@@ -4,6 +4,7 @@
PORTNAME= assimp
PORTVERSION= 4.0.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= yuri@rawbw.com
@@ -12,9 +13,11 @@ COMMENT= Library to import various 3D model formats in a uniform manner
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+LIB_DEPENDS= libminizip.so:archivers/minizip
+
BROKEN_powerpc64= Does not build: error: ByteSwap has not been declared
-USES= cmake compiler:c++11-lib pkgconfig
+USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes