aboutsummaryrefslogtreecommitdiffstats
path: root/math/saga
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2011-06-29 19:46:01 +0800
committermm <mm@FreeBSD.org>2011-06-29 19:46:01 +0800
commit13149e7d224c9cfdfc357e921bf1438634e0904d (patch)
tree0652922515b67db72ad7691a82d932647e56bd89 /math/saga
parent6a9fc5cb8302528bca3ec79ba07f54ff6f385197 (diff)
downloadfreebsd-ports-gnome-13149e7d224c9cfdfc357e921bf1438634e0904d.tar.gz
freebsd-ports-gnome-13149e7d224c9cfdfc357e921bf1438634e0904d.tar.zst
freebsd-ports-gnome-13149e7d224c9cfdfc357e921bf1438634e0904d.zip
Update OpenCV to 2.3.0-rc
Diffstat (limited to 'math/saga')
-rw-r--r--math/saga/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/math/saga/Makefile b/math/saga/Makefile
index 156d4bc829b7..f4bfef977213 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -7,7 +7,7 @@
PORTNAME= saga
PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -21,7 +21,7 @@ LIB_DEPENDS= proj.6:${PORTSDIR}/graphics/proj \
tiff.4:${PORTSDIR}/graphics/tiff \
iodbc.3:${PORTSDIR}/databases/libiodbc \
las.1:${PORTSDIR}/devel/liblas \
- cv.2:${PORTSDIR}/graphics/opencv
+ opencv_legacy.2:${PORTSDIR}/graphics/opencv
USE_WX= 2.8
USE_LDCONFIG= yes
@@ -72,6 +72,9 @@ PLIST_SUB+= HARU="@comment "
.include <bsd.port.pre.mk>
post-patch:
+ @${REINPLACE_CMD} -e 's/-lcv/-lopencv_legacy/g' \
+ ${WRKSRC}/configure \
+ ${WRKSRC}/src/modules_images/modules_opencv/opencv/Makefile.in
@for f in `${FIND} '${WRKSRC}' -name Makefile.in` \
${WRKSRC}/configure; do \
${REINPLACE_CMD} -e's|wx-config |${WX_CONFIG} |g' "$$f"; \