summaryrefslogtreecommitdiff
path: root/devel/cmake
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2011-06-16 14:46:44 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2011-06-16 14:46:44 +0000
commit085b526b4af8b4c1e65efd0d18cd6d150567d398 (patch)
tree3d33623412fc0ab676f4fc14f9a5036a44e9bd23 /devel/cmake
parentAnother bunch of deprecation: no more public distfiles and/or abandonware (diff)
- make the FindDCMTK.cmake module LOCALBASE-aware
Approved by: avilla (on behalf of kde@)
Notes
Notes: svn path=/head/; revision=275679
Diffstat (limited to 'devel/cmake')
-rw-r--r--devel/cmake/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index b8a9c7a5919a..49967a7e8a33 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -48,6 +48,8 @@ post-patch:
${WRKSRC}/bootstrap
@${REINPLACE_CMD} -e 's,/opt/kde4,${LOCALBASE}/kde4,g' \
${WRKSRC}/Modules/FindKDE4.cmake
+ @${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,' \
+ ${WRKSRC}/Modules/FindDCMTK.cmake
@${FIND} ${WRKSRC} -name "*.bak" -delete -o -name "*.orig" -delete
.include <bsd.port.mk>