1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

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)
This commit is contained in:
William Grzybowski 2013-08-08 11:24:28 +00:00
parent fa10b934c9
commit 0d98a2f575
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324390

View File

@ -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}