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)
This commit is contained in:
Jan Beich 2017-07-25 13:00:13 +00:00
parent 0c07d799fa
commit 6a7fa73d4d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446581

View File

@ -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