Error Building devel/cmake

Walter Schwarzenfeld w.schwarzenfeld at utanet.at
Wed Sep 16 18:02:05 UTC 2015


Hallo !

If I try to compile it, I also got the warnings but it installs fine.
Today there was a update and I updatet to 3.3.1.
I had make a patch - now I had no warnings, and I hope it will help you. 
(If the maintainer said nothing against).

greetings
W.S.
-------------- next part --------------
--- cmake/Makefile	2015-09-16 17:37:04 UTC
+++ Makefile
@@ -32,11 +32,15 @@ LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/
 		libexpat.so:${PORTSDIR}/textproc/expat2 \
 		libjsoncpp.so:${PORTSDIR}/devel/jsoncpp
 RUN_DEPENDS=	${LOCALBASE}/share/cmake/Modules/CMake.cmake:${PORTSDIR}/devel/cmake-modules
+.endif
+.include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MMANPAGES}
 MANPAGES_BUILD_DEPENDS=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
 MANPAGES_CONFIGURE_ON=	--sphinx-man
 .endif
 
+
 .include <bsd.port.pre.mk>
 
 .if defined(STRIP) && ${STRIP} != "" && !defined(WITH_DEBUG)
@@ -60,7 +64,7 @@ post-patch:
 
 # cmake-gui(1) is installed by devel/cmake-gui. Remove the man page's source to
 # prevent it from being built/installed by devel/cmake.
-	${RM} ${WRKSRC}/Help/manual/cmake-gui.1.rst
+#	${RM} ${WRKSRC}/Help/manual/cmake-gui.1.rst
 
 .if !defined(CMAKE_MODULES)
 post-install:


More information about the freebsd-ports mailing list