From 13149e7d224c9cfdfc357e921bf1438634e0904d Mon Sep 17 00:00:00 2001 From: mm Date: Wed, 29 Jun 2011 11:46:01 +0000 Subject: Update OpenCV to 2.3.0-rc --- math/saga/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'math') 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 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"; \ -- cgit