svn commit: r471521 - head/emulators/wine

Tobias C. Berner tcberner at FreeBSD.org
Sun Jun 3 20:03:50 UTC 2018


Author: tcberner
Date: Sun Jun  3 20:03:49 2018
New Revision: 471521
URL: https://svnweb.freebsd.org/changeset/ports/471521

Log:
  emulators/wine: fix desktop file on amd64
  
  Reviewed by:	gerald
  Approved by:	dbn
  Differential Revision:	https://reviews.freebsd.org/D15489

Modified:
  head/emulators/wine/Makefile

Modified: head/emulators/wine/Makefile
==============================================================================
--- head/emulators/wine/Makefile	Sun Jun  3 20:03:47 2018	(r471520)
+++ head/emulators/wine/Makefile	Sun Jun  3 20:03:49 2018	(r471521)
@@ -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 "


More information about the svn-ports-all mailing list