| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.60 2022/03/11 21:42:14 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.61 2022/03/23 23:07:23 tnn Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | V= 6.0.2 | | 4 | V= 6.0.2 |
5 | DISTNAME= kicad-${V} | | 5 | DISTNAME= kicad-${V} |
6 | CATEGORIES= cad | | 6 | CATEGORIES= cad |
7 | MASTER_SITES= https://gitlab.com/kicad/code/kicad/-/archive/${V}/ | | 7 | MASTER_SITES= https://gitlab.com/kicad/code/kicad/-/archive/${V}/ |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://www.kicad.org/ | | 11 | HOMEPAGE= https://www.kicad.org/ |
12 | COMMENT= Schematic and PCB CAD software (stable branch) | | 12 | COMMENT= Schematic and PCB CAD software (stable branch) |
13 | LICENSE= gnu-gpl-v3 | | 13 | LICENSE= gnu-gpl-v3 |
14 | | | 14 | |
| @@ -29,26 +29,28 @@ CMAKE_ARGS+= -DKICAD_BUILD_I18N=ON | | | @@ -29,26 +29,28 @@ CMAKE_ARGS+= -DKICAD_BUILD_I18N=ON |
29 | CMAKE_MODULE_PATH_OVERRIDE= \ | | 29 | CMAKE_MODULE_PATH_OVERRIDE= \ |
30 | new/CMakeLists.txt | | 30 | new/CMakeLists.txt |
31 | | | 31 | |
32 | PY_PATCHPLIST= yes | | 32 | PY_PATCHPLIST= yes |
33 | | | 33 | |
34 | # The package tries to build a native .app bundle. This doesn't work | | 34 | # The package tries to build a native .app bundle. This doesn't work |
35 | # in pkgsrc context because they don't support DESTDIR installation, | | 35 | # in pkgsrc context because they don't support DESTDIR installation, |
36 | # which is a requirement in pkgsrc. It also tries to use native Python | | 36 | # which is a requirement in pkgsrc. It also tries to use native Python |
37 | # frameworks, but has to use pkgsrc's. Getting this to build requires 15 | | 37 | # frameworks, but has to use pkgsrc's. Getting this to build requires 15 |
38 | # additional patches. Ping if you you want the patches. | | 38 | # additional patches. Ping if you you want the patches. |
39 | # I didn't commit them yet because it segfaults. -tnn 20220102 | | 39 | # I didn't commit them yet because it segfaults. -tnn 20220102 |
40 | NOT_FOR_PLATFORM+= Darwin-*-* | | 40 | NOT_FOR_PLATFORM+= Darwin-*-* |
41 | | | 41 | |
| | | 42 | # needs 64-bit CAS for std::atomic<size_t> |
| | | 43 | .include "../../mk/atomic64.mk" |
42 | .include "../../devel/boost-libs/buildlink3.mk" | | 44 | .include "../../devel/boost-libs/buildlink3.mk" |
43 | .include "../../devel/cmake/buildlink3.mk" | | 45 | .include "../../devel/cmake/buildlink3.mk" |
44 | .include "../../devel/zlib/buildlink3.mk" | | 46 | .include "../../devel/zlib/buildlink3.mk" |
45 | .include "../../graphics/MesaLib/buildlink3.mk" | | 47 | .include "../../graphics/MesaLib/buildlink3.mk" |
46 | .include "../../graphics/glew/buildlink3.mk" | | 48 | .include "../../graphics/glew/buildlink3.mk" |
47 | BUILDLINK_API_DEPENDS.glm+= glm>=0.9.9.8 | | 49 | BUILDLINK_API_DEPENDS.glm+= glm>=0.9.9.8 |
48 | .include "../../graphics/glm/buildlink3.mk" | | 50 | .include "../../graphics/glm/buildlink3.mk" |
49 | .include "../../graphics/glu/buildlink3.mk" | | 51 | .include "../../graphics/glu/buildlink3.mk" |
50 | .include "../../graphics/cairo/buildlink3.mk" | | 52 | .include "../../graphics/cairo/buildlink3.mk" |
51 | .include "../../lang/python/extension.mk" | | 53 | .include "../../lang/python/extension.mk" |
52 | .include "../../www/curl/buildlink3.mk" | | 54 | .include "../../www/curl/buildlink3.mk" |
53 | .include "../../x11/wxGTK30/buildlink3.mk" | | 55 | .include "../../x11/wxGTK30/buildlink3.mk" |
54 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 56 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |