K 10 svn:author V 6 marino K 8 svn:date V 27 2015-08-26T20:02:53.020302Z K 7 svn:log V 394 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). END