From 954b333fe372ae48530e2dad80a1b5bf26e11563 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Sun, 3 Jun 2018 20:03:49 +0000 Subject: [PATCH] emulators/wine: fix desktop file on amd64 Reviewed by: gerald Approved by: dbn Differential Revision: https://reviews.freebsd.org/D15489 --- emulators/wine/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 00c4dff68f8f..b587c0263a6d 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -3,6 +3,7 @@ PORTNAME= wine DISTVERSION= 3.0.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/Source \ @@ -129,8 +130,10 @@ CPPFLAGS+= -D__builtin_ms_va_list=__builtin_va_list \ .endif # Wine assumes a WoW64 package is available however WoW64 is not yet available on FreeBSD. +# Also fix the desktop file. post-patch: ${REINPLACE_CMD} 's|/wine|/wine64|g' ${WRKSRC}/tools/wineapploader.in + ${REINPLACE_CMD} '/Exec/s|wine|wine64|g' ${WRKSRC}/loader/wine.desktop .else PLIST_SUB+= WINE32="" WINE64="@comment "