aboutsummaryrefslogtreecommitdiffstats
path: root/cad/kicad-devel
diff options
context:
space:
mode:
Diffstat (limited to 'cad/kicad-devel')
-rw-r--r--cad/kicad-devel/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile
index b414c9cbbd4c..fa7043050d82 100644
--- a/cad/kicad-devel/Makefile
+++ b/cad/kicad-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kicad
DISTVERSION= r${GIT_SRC_DATE}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= cad
PKGNAMESUFFIX= -devel
DIST_SUBDIR= ${PORTNAME}
@@ -84,6 +84,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|' \
${WRKSRC}/config.h