aboutsummaryrefslogtreecommitdiff
path: root/math/saga
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2011-06-29 11:46:01 +0000
committerMartin Matuska <mm@FreeBSD.org>2011-06-29 11:46:01 +0000
commit760559e18cdf425f82079854f7e830ff0c9bdfb6 (patch)
treef967a8549252dad2bc9b898c5e485e4c4ff578ce /math/saga
parentb3bad8698d8a897ffeb103c2828a0f78f425ba22 (diff)
downloadports-760559e18cdf425f82079854f7e830ff0c9bdfb6.tar.gz
ports-760559e18cdf425f82079854f7e830ff0c9bdfb6.zip
Notes
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"; \