Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 22:48:05 +0200
From:      Matthias Andree <matthias.andree@gmx.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: portupgrade bug: -M no longer works after v2.1.0
Message-ID:  <m364i3rhq2.fsf@merlin.emma.line.org>
In-Reply-To: <44B40863.9060403@asd.aplus.net> (atanas@asd.aplus.net's message of "Tue, 11 Jul 2006 13:21:55 -0700")
References:  <44B40863.9060403@asd.aplus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Atanas <atanas@asd.aplus.net> writes:

> Recent portupgrade versions no longer obey the -M command line switch,
> i.e. any optional arguments to be prepended to each make command.
>
> How to reproduce:
>
> # portinstall -M "APACHE_HARD_SERVER_LIMIT=1024" www/apache13
> ...
> ===> src/ap
> cc -c  -I../os/unix -I../include -I/usr/local/include  -funsigned-char
> -O2 -fno-strict-aliasing -pipe
> -DDOCUMENT_LOCATION=\"/usr/local/www/data\"
> -DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\" -DHARD_SERVER_LIMIT=512
> `../apaci` ap_cpystrn.c
> ...
>
> Note the -DHARD_SERVER_LIMIT=512 above.

Does it work if you type (you can omit the env in /bin/sh, bash, (pd)ksh
and other Bourne-like shells):

env APACHE_HARD_SERVER_LIMIT=1024 portinstall www/apache13

(Isn't it time to migrate to a newer Apache version anyways? 8-) )

-- 
Matthias Andree



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