aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-08-11 04:35:10 +0800
committermarino <marino@FreeBSD.org>2013-08-11 04:35:10 +0800
commit6fceeba882f15c615591160616b3ab47a4e6c669 (patch)
treea5de7981b3b9b97c429c53a71fe15119d73cc8e0
parent4267add87e2e4995f9864dd2617291411ce617b9 (diff)
downloadfreebsd-ports-gnome-6fceeba882f15c615591160616b3ab47a4e6c669.tar.gz
freebsd-ports-gnome-6fceeba882f15c615591160616b3ab47a4e6c669.tar.zst
freebsd-ports-gnome-6fceeba882f15c615591160616b3ab47a4e6c669.zip
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)
-rw-r--r--graphics/opencv/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index 051234049272..c3ff7de9efc9 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -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>