Index: emulators/wine/Makefile =================================================================== --- emulators/wine/Makefile +++ emulators/wine/Makefile @@ -3,7 +3,7 @@ PORTNAME= wine DISTVERSION= 3.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/Source \ @@ -129,9 +129,11 @@ -D__builtin_ms_va_copy=__builtin_va_copy .endif -# Wine assumes a WoW64 package is available however WoW64 is not yet available on FreeBSD. +# Wine assumes a WoW64 package is available however WoW64 is not yet available on FreeBSD, +# and fix the desktop file. post-patch: - ${REINPLACE_CMD} 's|/wine|/wine64|g' ${WRKSRC}/tools/wineapploader.in + ${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 "