Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 11:44:26 +0100
From:      Guido Falsi <mad@madpilot.net>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        "freebsd-stable@freebsd.org List" <freebsd-stable@freebsd.org>
Subject:   Re: Poudriere questions
Message-ID:  <5125FA8A.8060701@madpilot.net>
In-Reply-To: <4647BC50-5866-4B9D-B5A5-B1852EB6045E@punkt.de>
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> <5125E0CE.7030709@madpilot.net> <4647BC50-5866-4B9D-B5A5-B1852EB6045E@punkt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/21/13 10:15, Patrick M. Hausen wrote:
> Hi, Guido,
>
> hope you have a couple of more minutes ...
>
> After the first failure with the make.conf syntax I just put the options in unconditionally,
> to try if they end up in the final Apache package.

Just to be sure, are you putting these lines in poudriere's make.conf 
for your jail? The one in /usr/local/etc/poudriere.d/make.conf 
(poudriere global one, or the jail-make.conf one if you need different 
ones for different environments)

poudriere will use that one when building, not the one in /etc.


> OK, tried manually wihtout Poudriere:

>
> make config, enable PROXY, PROXY_HTTP, SUEXEC, then specify the rest on the command
> line when building:
>
> make -DBATCH -DSUEXEC_DOCROOT=/var/apache -DSUEXEC_LOGFILE=/var/apache/GLOBAL/suexec_log install
>

This command line isn't correct. In fact I don't really know how it 
could have ever worked.

 From make(1):

-D variable
	Define variable to be 1, in the global context.


An example should clarify things up

 > make -DFOO=bar -V FOO

 > make -DFOO=bar -V FOO=bar
1
 > make FOO=bar -V FOO
bar

The correct one should be

make -DBATCH SUEXEC_DOCROOT=/var/apache 
SUEXEC_LOGFILE=/var/apache/GLOBAL/suexec_log install

-- 
Guido Falsi <mad@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5125FA8A.8060701>