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
This commit is contained in:
Muhammad Moinur Rahman 2024-03-09 14:38:57 +01:00
parent 0fc16cde22
commit a779acb159
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
1 changed files with 3 additions and 2 deletions

View File

@ -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: