Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2013 11:24:28 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324390 - head/math/saga
Message-ID:  <201308081124.r78BOS5G029950@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Thu Aug  8 11:24:28 2013
New Revision: 324390
URL: http://svnweb.freebsd.org/changeset/ports/324390

Log:
  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)

Modified:
  head/math/saga/Makefile

Modified: head/math/saga/Makefile
==============================================================================
--- head/math/saga/Makefile	Thu Aug  8 11:19:45 2013	(r324389)
+++ head/math/saga/Makefile	Thu Aug  8 11:24:28 2013	(r324390)
@@ -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 
 
 .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}



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