svn commit: r445158 - head/graphics/kipi-plugin-removeredeyes

Tobias C. Berner tcberner at FreeBSD.org
Thu Jul 6 15:08:43 UTC 2017


Author: tcberner
Date: Thu Jul  6 15:08:41 2017
New Revision: 445158
URL: https://svnweb.freebsd.org/changeset/ports/445158

Log:
  Make sure $LOCALBASE/lib is in the linker search paths.
  
  * Otherwise linking may fail with OpenCV was compiled with TBB.
  
  PR:		219981
  Reported by:	Melvyn Sopacua <m.r.sopacua at gmail.com>

Modified:
  head/graphics/kipi-plugin-removeredeyes/Makefile

Modified: head/graphics/kipi-plugin-removeredeyes/Makefile
==============================================================================
--- head/graphics/kipi-plugin-removeredeyes/Makefile	Thu Jul  6 15:03:05 2017	(r445157)
+++ head/graphics/kipi-plugin-removeredeyes/Makefile	Thu Jul  6 15:08:41 2017	(r445158)
@@ -9,6 +9,10 @@ MAINTAINER=	kde at FreeBSD.org
 COMMENT=	${${KIPI_PLUGIN}_DESC}
 
 LIB_DEPENDS=	libopencv_legacy.so:graphics/opencv
+# Ensure -L${LOCALBASE}/lib is in the linker flags, as 
+# the cmake files do not properly handle opencv with tbb
+# enabled.
+USES+=		localbase:ldflags
 
 KIPI_PLUGIN=	removeredeyes
 .include "${.CURDIR}/../digikam-kde4/Makefile.common"


More information about the svn-ports-all mailing list