Created attachment 193727 [details] Proposed patch (since 470875 revision) Patch to fix distinfo file for emulators/wine-devel port, when STAGING option enabled. There is following error for emulators/wine-devel port (based on ports r470875 changes): -8<-- # cd /usr/potrs/emulators/wine-devel # make WITH=STAGING checksum ===> License LGPL21 LGPL3 accepted by the user ===> wine-devel-3.9,1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by wine-devel-3.9,1 for building => SHA256 Checksum OK for wine-3.9.tar.xz. => No SHA256 checksum recorded for v3.9.tar.gz. => No suitable checksum found for v3.9.tar.gz. *** Error code 1 Stop. make: stopped in /usr/ports/emulators/wine-devel -->8- Possible fix is usage of `make WITH=STAGING makesum` command: -8<-- # make WITH=STAGING makesum <..> # make WITH=STAGING checksum ===> License LGPL21 LGPL3 accepted by the user ===> wine-devel-3.9,1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by wine-devel-3.9,1 for building => SHA256 Checksum OK for wine-3.9.tar.xz. => SHA256 Checksum OK for v3.9.tar.gz. -->8-
Other possible fix is to add following code before ".include <bsd.port.pre.mk>" in emulators/wine-devel/Makefile: -8<-- .ifmake makesum # Always include optional distfiles .MAKEFLAGS: WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE= .endif -->8- Then `make makesum` command may generate distinfo file for STAGING option also. For example, this was used for devel/godot port (based on ports r420818 changes).
Thank you for the report and the hint on how to adjust the Makefile. I actually do have a setup where distinfo is updated fully, alas in this case the Wine Staging patchset simply was not available at that point in time (and waiting "forever" is too often previous year does have drawbacks as well). This update is undergoing testing right now and I hope to commit soon.
A commit references this bug: Author: gerald Date: Sat May 26 21:42:58 UTC 2018 New revision: 470950 URL: https://svnweb.freebsd.org/changeset/ports/470950 Log: Add information on the Wine Staging patchset (aka the STAGING option) for version 3.9. PR: 228518 Submitted by: lightside@gmx.com Changes: head/emulators/wine-devel/distinfo
(In reply to Gerald Pfeifer from comment #2) > I actually do have a setup where distinfo is updated fully, alas in > this case the Wine Staging patchset simply was not available at that > point in time Understood. (In reply to Gerald Pfeifer from comment #2) > This update is undergoing testing right now and I hope to commit soon. I tested for locally revived emulators/i386-wine-staging port: -8<-- % svn co -r 464146 https://svn.FreeBSD.org/ports/head/emulators % cp -pR emulators/i386-wine-staging . % rm -rf emulators % cd i386-wine-staging % sed -i '' -e '/^BROKEN=/d' Makefile -->8- And it worked since 3.4 version. Also I found, that after print/freetype2 update to v2.9 there was a need to use LCD_FILTERING instead of LCD_RENDERING option for my font-config configuration, because of no anti-aliasing for used fonts in winecfg or some other windows, but probably this is configuration related. I tried to explain about this in some emails. Said just in case, because already resolved locally. Thanks for fast response and commit.