summaryrefslogtreecommitdiff
path: root/cad/kicad/patches/patch-CMakeModules_Functions.cmake
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2014-02-17 20:38:59 +0000
committerbouyer <bouyer@pkgsrc.org>2014-02-17 20:38:59 +0000
commitc38ac24b3c5b6648a1c96265d2b46bf546a71b02 (patch)
tree11646ca141a0227c79e6f6451ef6bbf3350f8bb1 /cad/kicad/patches/patch-CMakeModules_Functions.cmake
parentd26529241941e9922691c04dc251fc56859f94f0 (diff)
downloadpkgsrc-c38ac24b3c5b6648a1c96265d2b46bf546a71b02.tar.gz
Import kicad from the stable branch as of 20140214.
Sources are available only from bzr (no release) so I made a snapshot of the source tree and put it on a http server. This package is based on the package in wip by jonathan.gabris@gmail.com Kicad is an open source (GPL) software for the creation of electronic schematic diagrams and printed circuit board artwork. Designed and written by Jean-Pierre Charras, a researcher at LIS (Laboratoire des Images et des Signaux) and a teacher in IUT de Saint Martin d'Heres (France), in the field of electrical engineering and image processing. Kicad is a set of four softwares and a project manager: * Eeschema: Schematic entry. * Pcbnew: Board editor. * Gerbview: GERBER viewer (photoplotter documents). * Cvpcb: footprint selector for components used in the circuit design. * Kicad: project manager.
Diffstat (limited to 'cad/kicad/patches/patch-CMakeModules_Functions.cmake')
-rw-r--r--cad/kicad/patches/patch-CMakeModules_Functions.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/cad/kicad/patches/patch-CMakeModules_Functions.cmake b/cad/kicad/patches/patch-CMakeModules_Functions.cmake
new file mode 100644
index 00000000000..98a81902dca
--- /dev/null
+++ b/cad/kicad/patches/patch-CMakeModules_Functions.cmake
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeModules_Functions.cmake,v 1.1.1.1 2014/02/17 20:38:59 bouyer Exp $
+
+Don't use ${CMAKE_MODULE_PATH} directly as it will be changed
+and containt multiple directories
+
+--- CMakeModules/Functions.cmake.orig 2014-02-14 20:02:52.000000000 +0100
++++ CMakeModules/Functions.cmake 2014-02-14 20:03:21.000000000 +0100
+@@ -33,9 +33,9 @@
+ -DinputFile=${inputFile}
+ -DoutHeaderFile=${outHeaderFile}
+ -DoutCppFile=${outCppFile}
+- -P ${CMAKE_MODULE_PATH}/TokenList2DsnLexer.cmake
++ -P ${PROJECT_SOURCE_DIR}/CMakeModules/TokenList2DsnLexer.cmake
+ DEPENDS ${inputFile}
+- ${CMAKE_MODULE_PATH}/TokenList2DsnLexer.cmake
++ ${PROJECT_SOURCE_DIR}/CMakeModules/TokenList2DsnLexer.cmake
+ COMMENT "TokenList2DsnLexer.cmake creating:
+ ${outHeaderFile} and
+ ${outCppFile} from