From owner-freebsd-stable@FreeBSD.ORG Thu Feb 21 12:33:12 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 19F0C3B5 for ; Thu, 21 Feb 2013 12:33:12 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from winston.madpilot.net (winston.madpilot.net [78.47.75.155]) by mx1.freebsd.org (Postfix) with ESMTP id C94FEAA6 for ; Thu, 21 Feb 2013 12:33:11 +0000 (UTC) Received: from winston.madpilot.net (localhost [127.0.0.1]) by winston.madpilot.net (Postfix) with ESMTP id 3ZBTyR24fJzFTWQ; Thu, 21 Feb 2013 09:54:39 +0100 (CET) X-Virus-Scanned: amavisd-new at madpilot.net Received: from winston.madpilot.net ([127.0.0.1]) by winston.madpilot.net (winston.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XQSwyx0qMhds; Thu, 21 Feb 2013 09:54:37 +0100 (CET) Received: from vwg82.hq.ignesti.it (unknown [80.74.176.55]) by winston.madpilot.net (Postfix) with ESMTPSA; Thu, 21 Feb 2013 09:54:37 +0100 (CET) Message-ID: <5125E0CE.7030709@madpilot.net> Date: Thu, 21 Feb 2013 09:54:38 +0100 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: "Patrick M. Hausen" Subject: Re: Poudriere questions References: <2954D7E9-5FBD-4A9E-A097-195F2BBB195E@punkt.de> <512502C3.9010702@madpilot.net> <0A93B8B5-9C00-4E5E-A0CC-D8CF51A65A82@punkt.de> <512507A5.5080307@madpilot.net> <2F88E216-2412-4FA2-99BE-36DB37D15EC0@punkt.de> In-Reply-To: <2F88E216-2412-4FA2-99BE-36DB37D15EC0@punkt.de> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 12:33:12 -0000 On 02/21/13 09:41, Patrick M. Hausen wrote: > Good morning, > > Am 20.02.2013 um 18:28 schrieb Guido Falsi : >> There is no per port file, but, bbeing make.conf a file sourced by make, you can use make syntax: >> >> .if ${.CURDIR:M*www/apache22*} >> SUEXEC_DOCROOT=/foo/bar >> .endif > > > Now that I gave that a try it seems like there's something missing: > > "/etc/make.conf", line 5: Unassociated shell command "PROXY=on" > "/etc/make.conf", line 6: Unassociated shell command "PROXY_HTTP=on" > "/etc/make.conf", line 7: Unassociated shell command "SUEXEC=on" > "/etc/make.conf", line 8: Unassociated shell command "SUEXEC_DOCROOT=/var/apache" > "/etc/make.conf", line 9: Unassociated shell command "SUEXEC_LOGFILE=/var/apache/GLOBAL/suexec_log" > > That's my make.conf: > > .if ${.CURDIR:M*www/apache22*} > PROXY=on > PROXY_HTTP=on > SUEXEC=on > SUEXEC_DOCROOT=/var/apache > SUEXEC_LOGFILE=/var/apache/GLOBAL/suexec_log > .endif > Sorry, I forgot to mention: no tabs. tabs have a spacial meaning to make. They mean a shell command follows and should be used only in make targets. Use spaces to indent things. -- Guido Falsi