Summary: | ports-mgmt/portmaster: match_flavor() called by origin_from_pdb() before defined | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ryan Frederick <ryanrfrederick> | ||||
Component: | Individual Port(s) | Assignee: | Stefan Eßer <se> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | ryanrfrederick, w.schwarzenfeld | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(se) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Ryan Frederick
2018-04-30 22:09:27 UTC
Created attachment 193549 [details]
Move match_flavor() to before its first use
This patch should be applied to the installed portmaster script in /usr/local/sbin, since portmaster recursively invokes itself and a patched copy might thus lead to the unpatched original version being executed in /usr/local/sbin ...
Please apply the patch to the actual portmaster script to make sure that the patched version is actually being tested (see comment added to the attachment). A commit references this bug: Author: se Date: Sun May 20 10:56:14 UTC 2018 New revision: 470451 URL: https://svnweb.freebsd.org/changeset/ports/470451 Log: Fix recursive building of ports (-r option). The match_flavor function was called before being defined. The issue and cause has been reported by Herbert J. Skuhra. (Thanks!) PR: 227882 Reported by: Herbert J. Skuhra <herbert@gojira.at> Approved by: antoine (implicit) Changes: head/ports-mgmt/portmaster/Makefile head/ports-mgmt/portmaster/files/patch-portmaster Forgotten to close? |