svn commit: r446581 - head/multimedia/assimp

Jan Beich jbeich at FreeBSD.org
Tue Jul 25 13:00:14 UTC 2017


Author: jbeich
Date: Tue Jul 25 13:00:13 2017
New Revision: 446581
URL: https://svnweb.freebsd.org/changeset/ports/446581

Log:
  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 at unislabs.com
  Submitted by:	yuri at rawbw.com (maintainer, based on)

Modified:
  head/multimedia/assimp/Makefile   (contents, props changed)

Modified: head/multimedia/assimp/Makefile
==============================================================================
--- head/multimedia/assimp/Makefile	Tue Jul 25 12:44:06 2017	(r446580)
+++ head/multimedia/assimp/Makefile	Tue Jul 25 13:00:13 2017	(r446581)
@@ -4,6 +4,7 @@
 PORTNAME=	assimp
 PORTVERSION=	4.0.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	yuri at rawbw.com
@@ -12,9 +13,11 @@ COMMENT=	Library to import various 3D model formats in
 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
 


More information about the svn-ports-all mailing list