Created attachment 220205 [details] Patch (Revision 1) Passes poudriere.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/224582971
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field. Q/A: Makefile: "USES" has to appear earlier. ^Triage: Please confirm this change passes QA (portlint, poudriere at least). -- https://www.freebsd.org/doc/en/books/porters-handbook/testing.html Thanks!
From my portlint, I don't see the "USES has to appear earlier" error. I get: root@omen:/usr/ports/multimedia/gtk-youtube-viewer # portlint WARN: Makefile: [29]: possible direct use of command "patch" found. use ${PATCH} instead. 0 fatal errors and 1 warning found. root@omen:/usr/ports/multimedia/gtk-youtube-viewer # And that's because of this line: root@omen:/usr/ports/multimedia/gtk-youtube-viewer # grep USE_PERL Makefile USE_PERL5= patch modbuild root@omen:/usr/ports/multimedia/gtk-youtube-viewer #
(In reply to Neel Chauhan from comment #3) The message might be misleading. The culprit is that NO_ARCH should be after USES, and hence the message "USES has to appear earlier"
Created attachment 220226 [details] Patch (Revision 2) Moved NO_ARCH
(In reply to Neel Chauhan from comment #5) Thanks for that :-) It will take some time to build and test, there are heavy ports in the dependency chain :S
A commit references this bug: Author: fernape Date: Fri Dec 4 07:16:10 UTC 2020 New revision: 556951 URL: https://svnweb.freebsd.org/changeset/ports/556951 Log: multimedia/gtk-youtube-viewer: Update to 3.8.0 and set MAINTAINER ChangeLog: https://github.com/trizen/youtube-viewer/releases/tag/3.8.0 Submitter becomes maintainer. PR: 251554 Submitted by: neel@neelc.org Changes: head/multimedia/gtk-youtube-viewer/Makefile head/multimedia/gtk-youtube-viewer/distinfo head/multimedia/gtk-youtube-viewer/pkg-plist
Committed, Thanks!