Date: Wed, 26 Aug 2015 20:02:53 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395397 - head/ports-mgmt/genpatch Message-ID: <201508262002.t7QK2rTi030013@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508262002.t7QK2rTi030013>