svn commit: r549762 - head/math/flann

Yuri Victorovich yuri at FreeBSD.org
Wed Sep 23 17:56:06 UTC 2020


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


More information about the svn-ports-all mailing list