HomeFreeBSD

ports-mgmt/genpatch: Fix evaluation of WRKDIRPREFIX

Description

ports-mgmt/genpatch: Fix evaluation of WRKDIRPREFIX

The logic to define the PORTWORK variable evaluated WRKDIRPREFIX in some
cases, but this variable was never defined. We need to pull in
bsd.port.pre.mk or bsd.port.options.mk to define it, and I chose the
latter. This fixes the wrong value of PORTWORK being used when genpatch
is built manually (it was correct when built from poudriere).

Details

Provenance
marinoAuthored on
Parents
rP395396: Upgrade graphics/cimg to 1.6.4, as it moved to GitHub. It also uses the newer
Branches
Unknown
Tags
Unknown