mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
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).
This commit is contained in:
parent
e4ca5175df
commit
36bc0a9deb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395397
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= genpatch
|
||||
PORTVERSION= 1.40
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
@ -22,6 +23,8 @@ PLIST_FILES= bin/dupe \
|
||||
man/man1/genpatch.1.gz \
|
||||
man/man1/portfix.1.gz
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(PACKAGE_BUILDING) # use known default values, poudriere overrides
|
||||
. if defined(.MAKE.BUILT.BY) # DragonFly!
|
||||
PORTWORK= /usr/obj/dports
|
||||
|
Loading…
Reference in New Issue
Block a user