From a779acb15993d9f8d995495ead62f7b1deb20a7c Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 9 Mar 2024 14:38:57 +0100 Subject: [PATCH] emulators/qemu: Fix regression in gmake This issue started popping up after the latest gmake upgrade. Although there are multiple ways of fixing this I will stick with the preferred path by tijl@ as he is trying to address the issue with other ports. As I am not sure sure whether if this triggers a different binary being generated but for the safest route bumping portrevision. This problem is not reproducible for people using poudreiere to build their ports PR: 277527 Reported by: rozhuk.im@gmail.com --- emulators/qemu/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index ed8db24f93f6..1b248ad50fbc 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,5 +1,6 @@ PORTNAME= qemu PORTVERSION= 8.2.2 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ DIST_SUBDIR= qemu/${PORTVERSION} @@ -240,10 +241,10 @@ post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h do-build: - cd ${WRKSRC} && ${GMAKE} -j${MAKE_JOBS_NUMBER} + cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} ${GMAKE} -j${MAKE_JOBS_NUMBER} do-install: - cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install + cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} DESTDIR=${STAGEDIR} ${GMAKE} install .if !target(post-install) post-install: