Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2017 13:00:13 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r446581 - head/multimedia/assimp
Message-ID:  <201707251300.v6PD0DjI084661@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@unislabs.com
  Submitted by:	yuri@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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707251300.v6PD0DjI084661>