Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2017 15:08:41 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445158 - head/graphics/kipi-plugin-removeredeyes
Message-ID:  <201707061508.v66F8fNW056004@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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"



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