git: 8fcc40e7043f - main - emulators/i386-wine: Make dependency on wine-gecko generic

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Sun, 10 Oct 2021 06:22:29 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8fcc40e7043f53358931a874d0f31e889e32ff1a

commit 8fcc40e7043f53358931a874d0f31e889e32ff1a
Author:     Felix Palmen <felix@palmen-it.de>
AuthorDate: 2021-10-10 06:20:39 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2021-10-10 06:21:29 +0000

    emulators/i386-wine: Make dependency on wine-gecko generic
    
    Similar to commits dc73fd607fb79017cf74182613659ac9c4340bdd and
    18fcc610bf93b40517bdb3f3ba945659a70cb6d0 solving this for wine-mono,
    the dependency on wine-gecko had the actual version number hardcoded,
    which is easy to miss and a maintenance burden.
    
    Simply depend on the port instead for wine-gecko as well.
    
    PR:             258200
---
 emulators/i386-wine/Makefile.amd64 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emulators/i386-wine/Makefile.amd64 b/emulators/i386-wine/Makefile.amd64
index 565689b58994..b89205f61ef2 100644
--- a/emulators/i386-wine/Makefile.amd64
+++ b/emulators/i386-wine/Makefile.amd64
@@ -40,7 +40,7 @@ OPTIONS_DEFINE=	GECKO MONO
 GECKO_DESC=     Bundle Gecko MSI package for Wine
 MONO_DESC=      Bundle Mono MSI package for Wine
 
-GECKO_RUN_DEPENDS=	${DATADIR}/gecko/wine-gecko-2.47.1-x86.msi:emulators/wine-gecko
+GECKO_RUN_DEPENDS=	wine-gecko>0:emulators/wine-gecko
 MONO_RUN_DEPENDS=	wine-mono>0:emulators/wine-mono
 
 do-extract: