svn commit: r465282 - in head/cad: kicad kicad-devel
Adriaan de Groot
adridg at FreeBSD.org
Thu Mar 22 09:53:06 UTC 2018
Author: adridg
Date: Thu Mar 22 09:53:05 2018
New Revision: 465282
URL: https://svnweb.freebsd.org/changeset/ports/465282
Log:
Fix cad/kicad{-devel} in advance of CMake 3.11. Remove old duplicate CMake
module.
The old modules use CMake internals that are going away in 3.11;
this particular module has been shipped with CMake since 3.0 at least,
so it's just not necessary except on silly ancient platforms.
Reviewed by: thierry (maintainer)
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D14772
Modified:
head/cad/kicad-devel/Makefile
head/cad/kicad/Makefile
Modified: head/cad/kicad-devel/Makefile
==============================================================================
--- head/cad/kicad-devel/Makefile Thu Mar 22 09:41:10 2018 (r465281)
+++ head/cad/kicad-devel/Makefile Thu Mar 22 09:53:05 2018 (r465282)
@@ -3,7 +3,7 @@
PORTNAME= kicad
DISTVERSION= r${GIT_SRC_DATE}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= cad
PKGNAMESUFFIX= -devel
DIST_SUBDIR= ${PORTNAME}
@@ -83,6 +83,12 @@ showversions:
tmp:
echo "${DATADIR} ${DATADIR:H}"
+
+# The CheckCXXSymbolExists module has been shipped with CMake since 3.0 times.
+# The ancient implementation that this bundled module uses, no longer works
+# because it uses CMake internals that have gone away in 3.11.
+post-extract:
+ ${RM} ${WRKSRC}/CMakeModules/CheckCXXSymbolExists.cmake
post-configure:
${REINPLACE_CMD} -e 's|#define HAVE_ISO646_H|//#define HAVE_ISO646_H|' \
Modified: head/cad/kicad/Makefile
==============================================================================
--- head/cad/kicad/Makefile Thu Mar 22 09:41:10 2018 (r465281)
+++ head/cad/kicad/Makefile Thu Mar 22 09:53:05 2018 (r465282)
@@ -3,7 +3,7 @@
PORTNAME= kicad
PORTVERSION= 4.0.7
-PORTREVISION= 6
+PORTREVISION= 7
PORTEPOCH= 2
CATEGORIES= cad
@@ -58,6 +58,12 @@ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_IMPLIES= DOCS
DOXYGEN_ALL_TARGET= all doxygen-docs
DOXYGEN_PORTDOCS= doxygen
+
+# The CheckCXXSymbolExists module has been shipped with CMake since 3.0 times.
+# The ancient implementation that this bundled module uses, no longer works
+# because it uses CMake internals that have gone away in 3.11.
+post-extract:
+ ${RM} ${WRKSRC}/CMakeModules/CheckCXXSymbolExists.cmake
pre-configure:
${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \
More information about the svn-ports-all
mailing list