svn commit: r395397 - head/ports-mgmt/genpatch
John Marino
marino at FreeBSD.org
Wed Aug 26 20:02:54 UTC 2015
Author: marino
Date: Wed Aug 26 20:02:53 2015
New Revision: 395397
URL: https://svnweb.freebsd.org/changeset/ports/395397
Log:
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).
Modified:
head/ports-mgmt/genpatch/Makefile
Modified: head/ports-mgmt/genpatch/Makefile
==============================================================================
--- head/ports-mgmt/genpatch/Makefile Wed Aug 26 19:54:54 2015 (r395396)
+++ head/ports-mgmt/genpatch/Makefile Wed Aug 26 20:02:53 2015 (r395397)
@@ -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
More information about the svn-ports-all
mailing list