svn commit: r324390 - head/math/saga

William Grzybowski wg at FreeBSD.org
Thu Aug 8 11:24:29 UTC 2013


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}


More information about the svn-ports-all mailing list