Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 09:53:05 +0000 (UTC)
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465282 - in head/cad: kicad kicad-devel
Message-ID:  <201803220953.w2M9r5Sa077269@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}|'		\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803220953.w2M9r5Sa077269>