aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-08-08 19:24:28 +0800
committerwg <wg@FreeBSD.org>2013-08-08 19:24:28 +0800
commitb8885ea108b64f7035dad3f7a4a6f1dd0bc245c1 (patch)
tree7d4d8f7c56d6610c4cf10cf527e62f4a8c58e9a0 /math
parentddbc35a93612e54ca5733d85e8f332e0790636d4 (diff)
downloadfreebsd-ports-gnome-b8885ea108b64f7035dad3f7a4a6f1dd0bc245c1.tar.gz
freebsd-ports-gnome-b8885ea108b64f7035dad3f7a4a6f1dd0bc245c1.tar.zst
freebsd-ports-gnome-b8885ea108b64f7035dad3f7a4a6f1dd0bc245c1.zip
math/saga: fix opencv linking in 10-CURRENT
- There had been a change in default the behaviour of /usr/bin/ld with r253839 from 2013-07-31. After this change ld was not able to use libopencv_legacy.so any more, because it complains about missing symbols from libopencv_core.so. Submitted by: Rainer Hurling <rhurlin gwdg.de> (maintainer, via email)
Diffstat (limited to 'math')
-rw-r--r--math/saga/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/saga/Makefile b/math/saga/Makefile
index aebc11758a54..bb9aa740a5f5 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -3,6 +3,7 @@
PORTNAME= saga
PORTVERSION= 2.1.0
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
@@ -47,7 +48,7 @@ VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library
.include <bsd.port.options.mk>
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib -lopencv_core
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
.if ${PORT_OPTIONS:MPYTHON}