Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2013 20:35:10 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324558 - head/graphics/opencv
Message-ID:  <201308102035.r7AKZBBW068913@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Aug 10 20:35:10 2013
New Revision: 324558
URL: http://svnweb.freebsd.org/changeset/ports/324558

Log:
  graphics/opencv: continue recent binutils fix
  
  This cleans up the previous commit, and combines the LDFLAGS.  It's more
  logical this way, right after opencv_core is specified in LIB_DEPENDS.
  
  Approved by:	bapt/culot (mentors, implicit)

Modified:
  head/graphics/opencv/Makefile

Modified: head/graphics/opencv/Makefile
==============================================================================
--- head/graphics/opencv/Makefile	Sat Aug 10 17:04:02 2013	(r324557)
+++ head/graphics/opencv/Makefile	Sat Aug 10 20:35:10 2013	(r324558)
@@ -32,7 +32,7 @@ PLIST_SUB+=	VERSION=${DISTVERSION}
 .if !defined(_BUILDING_OPENCV_CORE) && !defined(_BUILDING_OPENCV_PYTHON)
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-opencv
 LIB_DEPENDS+=	opencv_core.2:${PORTSDIR}/graphics/opencv-core
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -lopencv_core
 
 PORTDOCS=	*
 
@@ -43,8 +43,6 @@ GTK_DESC=	GTK+ support
 OPENEXR_DESC=	OpenEXR support
 TBB_DESC=	TBB support
 
-LDFLAGS+=	-lopencv_core
-
 OPTIONS_DEFAULT=	EIGEN2 JASPER JPEG PNG TIFF V4L
 
 .include <bsd.port.options.mk>



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