Date: Thu, 10 Jul 2008 08:45:06 GMT From: Alex Kozlov <spam@rm-rf.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/125470: [patch] ports-mgmt/tinderbox fix OPTIONS handling Message-ID: <200807100845.m6A8j6dh076190@www.freebsd.org> Resent-Message-ID: <200807100850.m6A8o1xw070148@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125470 >Category: ports >Synopsis: [patch] ports-mgmt/tinderbox fix OPTIONS handling >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 10 08:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alex Kozlov >Release: FreeBSD 6.3 >Organization: private >Environment: >Description: Fix OPTIONS handling. >How-To-Repeat: $./tc configOptions OPTIONS_DIR=/options OPTIONS_ENABLED=1 $mount|grep options /var/tinderbox/options/6S-FreeBSD on /var/tinderbox/6S-FreeBSD/var/db/ports $sudo ./tinderbuild -nullfs -plistcheck -onceonly -b 6S-FreeBSD x11-wm/vtwm [...] $sudo ./enterbuild -b 6S-FreeBSD -d x11-wm/vtwm [...] #cat /var/db/ports/vtwm/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for vtwm-5.4.7_3 _OPTIONS_READ=vtwm-5.4.7_3 WITHOUT_SOUND=true WITH_NLS=true #cd /a/ports/x11-wm/vtwm/ && make -V WITHOUT_SOUND #echo $PORT_DBDIR /var/tinderbox/6S-FreeBSD/var/db/ports >Fix: Apply the patch. Patch attached with submission follows: Index: ports-mgmt/tinderbox/files/patch-portbuild @@ -0,0 +1,10 @@ +Index: portbuild +@@ -251,7 +251,7 @@ + fi + + if [ x"${OPTIONS_ENABLED}" = x"1" ]; then +- export PORT_DBDIR=${chroot}/var/db/ports ++ export PORT_DBDIR=/var/db/ports + fi + + echo "building $pkgname in $chroot" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807100845.m6A8j6dh076190>