summaryrefslogtreecommitdiff
path: root/devel/cmake
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2008-08-26 07:58:40 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2008-08-26 07:58:40 +0000
commit41cb46d38a8b5e809c08489caf229f3cf302cb3f (patch)
tree4b8d77315de3ee19c3e80b0d50d526cbc83cecb3 /devel/cmake
parentUpdate to 1.8 (diff)
Add ${LOCALBASE}/kde4 to the search paths for kde4-config. This is useful when
kde4-config in not in the PATH and PREFIX is set for non-default value. Approved by: miwi (mentor)
Notes
Notes: svn path=/head/; revision=219201
Diffstat (limited to 'devel/cmake')
-rw-r--r--devel/cmake/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index f434dd44a5df..57cff5cbbf7d 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cmake
PORTVERSION= 2.6.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.cmake.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/ \
${MASTER_SITE_LOCAL}
@@ -35,5 +36,7 @@ MAN1= ccmake.1 \
post-patch:
@${GREP} -rl '/usr/X11R6' ${WRKSRC}/Modules ${WRKSRC}/Tests | \
${XARGS} ${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g'
+ @${REINPLACE_CMD} -e 's,/opt/kde4,${LOCALBASE}/kde4,g' \
+ ${WRKSRC}/Modules/FindKDE4.cmake
.include <bsd.port.mk>