aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2011-06-16 22:46:44 +0800
committergahr <gahr@FreeBSD.org>2011-06-16 22:46:44 +0800
commitbc58341177ccf4d9d4ba8558f39d7e8b8d88e76f (patch)
treef7564f94ba462d03b636e6370e68b9e81673d484 /devel
parent4dcc5ea1212242bd5093d3b5b3bceebc9c15e131 (diff)
downloadfreebsd-ports-gnome-bc58341177ccf4d9d4ba8558f39d7e8b8d88e76f.tar.gz
freebsd-ports-gnome-bc58341177ccf4d9d4ba8558f39d7e8b8d88e76f.tar.zst
freebsd-ports-gnome-bc58341177ccf4d9d4ba8558f39d7e8b8d88e76f.zip
- make the FindDCMTK.cmake module LOCALBASE-aware
Approved by: avilla (on behalf of kde@)
Diffstat (limited to 'devel')
-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>