Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 17:56:03 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549762 - head/math/flann
Message-ID:  <202009231756.08NHu3Ra085996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Sep 23 17:56:03 2020
New Revision: 549762
URL: https://svnweb.freebsd.org/changeset/ports/549762

Log:
  math/flann: Remove a bogus semicolon in .pc file (this caused failure in misc/openmvg)
  
  MFH:		2020Q3

Modified:
  head/math/flann/Makefile

Modified: head/math/flann/Makefile
==============================================================================
--- head/math/flann/Makefile	Wed Sep 23 17:44:40 2020	(r549761)
+++ head/math/flann/Makefile	Wed Sep 23 17:56:03 2020	(r549762)
@@ -3,6 +3,7 @@
 PORTNAME=	flann
 DISTVERSION=	1.9.1-29
 DISTVERSIONSUFFIX=	-g1d04523
+PORTREVISION=	1
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -22,5 +23,8 @@ USE_LDCONFIG=	yes
 
 CMAKE_OFF=	BUILD_PYTHON_BINDINGS BUILD_MATLAB_BINDINGS BUILD_EXAMPLES BUILD_TESTS BUILD_DOC \
 		USE_OPENMP # OpenMP search is broken in cmake: https://gitlab.kitware.com/cmake/cmake/issues/17474
+
+post-install: # workaround for https://github.com/mariusmuja/flann/issues/466
+	${REINPLACE_CMD} -i '' -e 's/lib;-llz4/lib -llz4/' ${STAGEDIR}${PREFIX}/libdata/pkgconfig/flann.pc
 
 .include <bsd.port.mk>



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