| @@ -1,35 +1,38 @@ | | | @@ -1,35 +1,38 @@ |
1 | # $NetBSD: Makefile,v 1.286 2021/09/08 21:05:01 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.287 2021/09/10 13:10:58 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= qemu-6.1.0 | | 3 | DISTNAME= qemu-6.1.0 |
4 | PKGNAME= ${DISTNAME:S/-rc/rc/} | | 4 | PKGNAME= ${DISTNAME:S/-rc/rc/} |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 2 |
6 | CATEGORIES= emulators | | 6 | CATEGORIES= emulators |
7 | MASTER_SITES= https://download.qemu.org/ | | 7 | MASTER_SITES= https://download.qemu.org/ |
8 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.qemu-project.org/ | | 11 | HOMEPAGE= http://www.qemu-project.org/ |
12 | COMMENT= CPU emulator using dynamic translation | | 12 | COMMENT= CPU emulator using dynamic translation |
13 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd | | 13 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd |
14 | | | 14 | |
15 | TOOL_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build | | 15 | TOOL_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build |
16 | | | 16 | |
17 | USE_CURSES= resize_term wide | | 17 | USE_CURSES= resize_term wide |
18 | USE_LANGUAGES+= c c++ | | 18 | USE_LANGUAGES+= c c++ |
19 | USE_TOOLS+= bison flex makeinfo perl:build pod2man pkg-config | | 19 | USE_TOOLS+= bison flex makeinfo perl:build pod2man pkg-config |
20 | UNLIMIT_RESOURCES= datasize | | 20 | UNLIMIT_RESOURCES= datasize |
21 | HAS_CONFIGURE= yes | | 21 | HAS_CONFIGURE= yes |
22 | | | 22 | |
| | | 23 | # https://github.com/qemu/qemu/commit/56208a0d473c6db263cc333c787ca48b502d72ab |
| | | 24 | GCC_REQD+= 7 |
| | | 25 | |
23 | PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool | | 26 | PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool |
24 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme>=0.4.3:../../textproc/py-sphinx-rtd-theme | | 27 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme>=0.4.3:../../textproc/py-sphinx-rtd-theme |
25 | | | 28 | |
26 | SUBST_CLASSES+= sphinx-build | | 29 | SUBST_CLASSES+= sphinx-build |
27 | SUBST_STAGE.sphinx-build= pre-configure | | 30 | SUBST_STAGE.sphinx-build= pre-configure |
28 | SUBST_MESSAGE.sphinx-build= Fix hardcoded sphinx-build | | 31 | SUBST_MESSAGE.sphinx-build= Fix hardcoded sphinx-build |
29 | SUBST_FILES.sphinx-build+= configure | | 32 | SUBST_FILES.sphinx-build+= configure |
30 | SUBST_FILES.sphinx-build+= docs/meson.build | | 33 | SUBST_FILES.sphinx-build+= docs/meson.build |
31 | SUBST_FILES.sphinx-build+= roms/skiboot/doc/Makefile | | 34 | SUBST_FILES.sphinx-build+= roms/skiboot/doc/Makefile |
32 | SUBST_FILES.sphinx-build+= roms/u-boot/doc/Makefile | | 35 | SUBST_FILES.sphinx-build+= roms/u-boot/doc/Makefile |
33 | SUBST_SED.sphinx-build+= -e 's/sphinx-build/sphinx-build-${PYVERSSUFFIX}/g' | | 36 | SUBST_SED.sphinx-build+= -e 's/sphinx-build/sphinx-build-${PYVERSSUFFIX}/g' |
34 | | | 37 | |
35 | .include "options.mk" | | 38 | .include "options.mk" |