| @@ -1,39 +1,41 @@ | | | @@ -1,39 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.298 2022/07/02 11:40:52 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.299 2022/07/10 12:20:04 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= qemu-7.0.0 | | 3 | DISTNAME= qemu-7.0.0 |
4 | PKGREVISION= 2 | | 4 | PKGREVISION= 2 |
5 | CATEGORIES= emulators | | 5 | CATEGORIES= emulators |
6 | MASTER_SITES= https://download.qemu.org/ | | 6 | MASTER_SITES= https://download.qemu.org/ |
7 | EXTRACT_SUFX= .tar.xz | | 7 | EXTRACT_SUFX= .tar.xz |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://www.qemu.org/ | | 10 | HOMEPAGE= https://www.qemu.org/ |
11 | COMMENT= CPU emulator using dynamic translation | | 11 | COMMENT= CPU emulator using dynamic translation |
12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd | | 12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd |
13 | | | 13 | |
14 | TOOL_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build | | 14 | TOOL_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build |
15 | | | 15 | |
16 | USE_CURSES= resize_term wide | | 16 | USE_CURSES= resize_term wide |
17 | USE_LANGUAGES+= c c++ | | 17 | USE_LANGUAGES+= c c++ |
18 | USE_TOOLS+= bison flex makeinfo perl:build pod2man pkg-config | | 18 | USE_TOOLS+= bison flex makeinfo perl:build pod2man pkg-config |
19 | UNLIMIT_RESOURCES= datasize | | 19 | UNLIMIT_RESOURCES= datasize |
20 | HAS_CONFIGURE= yes | | 20 | HAS_CONFIGURE= yes |
21 | | | 21 | |
22 | # https://github.com/qemu/qemu/commit/56208a0d473c6db263cc333c787ca48b502d72ab | | 22 | # https://github.com/qemu/qemu/commit/56208a0d473c6db263cc333c787ca48b502d72ab |
23 | GCC_REQD+= 7 | | 23 | GCC_REQD+= 7 |
24 | | | 24 | |
25 | PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool | | 25 | PYTHON_VERSIONS_INCOMPATIBLE 27 |
26 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme>=0.4.3:../../textproc/py-sphinx-rtd-theme | | 26 | |
| | | 27 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx |
| | | 28 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme>=0.4.3:../../textproc/py-sphinx-rtd-theme |
27 | | | 29 | |
28 | SUBST_CLASSES+= sphinx-build | | 30 | SUBST_CLASSES+= sphinx-build |
29 | SUBST_STAGE.sphinx-build= pre-configure | | 31 | SUBST_STAGE.sphinx-build= pre-configure |
30 | SUBST_MESSAGE.sphinx-build= Fix hardcoded sphinx-build | | 32 | SUBST_MESSAGE.sphinx-build= Fix hardcoded sphinx-build |
31 | SUBST_FILES.sphinx-build+= configure | | 33 | SUBST_FILES.sphinx-build+= configure |
32 | SUBST_FILES.sphinx-build+= docs/meson.build | | 34 | SUBST_FILES.sphinx-build+= docs/meson.build |
33 | SUBST_FILES.sphinx-build+= roms/skiboot/doc/Makefile | | 35 | SUBST_FILES.sphinx-build+= roms/skiboot/doc/Makefile |
34 | SUBST_FILES.sphinx-build+= roms/u-boot/doc/Makefile | | 36 | SUBST_FILES.sphinx-build+= roms/u-boot/doc/Makefile |
35 | SUBST_SED.sphinx-build+= -e 's/sphinx-build/sphinx-build-${PYVERSSUFFIX}/g' | | 37 | SUBST_SED.sphinx-build+= -e 's/sphinx-build/sphinx-build-${PYVERSSUFFIX}/g' |
36 | | | 38 | |
37 | .include "options.mk" | | 39 | .include "options.mk" |
38 | | | 40 | |
39 | .include "../../mk/bsd.prefs.mk" | | 41 | .include "../../mk/bsd.prefs.mk" |
| @@ -195,22 +197,21 @@ post-install: | | | @@ -195,22 +197,21 @@ post-install: |
195 | ${RM} -f ${WRKDIR}/PLIST.STATIC | | 197 | ${RM} -f ${WRKDIR}/PLIST.STATIC |
196 | cd ${DESTDIR}${PREFIX} && \ | | 198 | cd ${DESTDIR}${PREFIX} && \ |
197 | ${FIND} share/doc/qemu -path '*/_static/*' -type f -print > ${WRKDIR}/PLIST.STATIC | | 199 | ${FIND} share/doc/qemu -path '*/_static/*' -type f -print > ${WRKDIR}/PLIST.STATIC |
198 | | | 200 | |
199 | .include "../../archivers/lzo/buildlink3.mk" | | 201 | .include "../../archivers/lzo/buildlink3.mk" |
200 | .include "../../archivers/zstd/buildlink3.mk" | | 202 | .include "../../archivers/zstd/buildlink3.mk" |
201 | .include "../../devel/glib2/buildlink3.mk" | | 203 | .include "../../devel/glib2/buildlink3.mk" |
202 | .include "../../devel/jemalloc/buildlink3.mk" | | 204 | .include "../../devel/jemalloc/buildlink3.mk" |
203 | .include "../../devel/snappy/buildlink3.mk" | | 205 | .include "../../devel/snappy/buildlink3.mk" |
204 | .include "../../devel/zlib/buildlink3.mk" | | 206 | .include "../../devel/zlib/buildlink3.mk" |
205 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 207 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
206 | .include "../../graphics/png/buildlink3.mk" | | 208 | .include "../../graphics/png/buildlink3.mk" |
207 | .include "../../lang/python/tool.mk" | | 209 | .include "../../lang/python/tool.mk" |
208 | .include "../../lang/python/versioned_dependencies.mk" | | | |
209 | .include "../../net/libslirp/buildlink3.mk" | | 210 | .include "../../net/libslirp/buildlink3.mk" |
210 | .include "../../security/libgcrypt/buildlink3.mk" | | 211 | .include "../../security/libgcrypt/buildlink3.mk" |
211 | .include "../../www/curl/buildlink3.mk" | | 212 | .include "../../www/curl/buildlink3.mk" |
212 | .include "../../x11/pixman/buildlink3.mk" | | 213 | .include "../../x11/pixman/buildlink3.mk" |
213 | .include "../../mk/curses.buildlink3.mk" | | 214 | .include "../../mk/curses.buildlink3.mk" |
214 | .include "../../mk/jpeg.buildlink3.mk" | | 215 | .include "../../mk/jpeg.buildlink3.mk" |
215 | .include "../../mk/pthread.buildlink3.mk" | | 216 | .include "../../mk/pthread.buildlink3.mk" |
216 | .include "../../mk/bsd.pkg.mk" | | 217 | .include "../../mk/bsd.pkg.mk" |