From 0d98a2f575ed6754579808afc332251f9493052d Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Thu, 8 Aug 2013 11:24:28 +0000 Subject: [PATCH] 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 (maintainer, via email) --- math/saga/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -lopencv_core CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" .if ${PORT_OPTIONS:MPYTHON}