Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2018 20:03:49 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471521 - head/emulators/wine
Message-ID:  <201806032003.w53K3nLO094782@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806032003.w53K3nLO094782>