From owner-freebsd-stable@FreeBSD.ORG Tue Jul 11 20:48:14 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D190D16A4E5 for ; Tue, 11 Jul 2006 20:48:14 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 742A643D76 for ; Tue, 11 Jul 2006 20:48:09 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: (qmail invoked by alias); 11 Jul 2006 20:48:08 -0000 Received: from p509119C4.dip0.t-ipconnect.de (EHLO m2a2.dyndns.org) [80.145.25.196] by mail.gmx.net (mp027) with SMTP; 11 Jul 2006 22:48:08 +0200 X-Authenticated: #428038 Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id B70D4200DB0 for ; Tue, 11 Jul 2006 22:48:07 +0200 (CEST) Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21220-07 for ; Tue, 11 Jul 2006 22:48:05 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 911EE200E45; Tue, 11 Jul 2006 22:48:05 +0200 (CEST) From: Matthias Andree To: freebsd-stable@freebsd.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> X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc Date: Tue, 11 Jul 2006 22:48:05 +0200 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at emma.line.org X-Y-GMX-Trusted: 0 Subject: Re: portupgrade bug: -M no longer works after v2.1.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 20:48:14 -0000 Atanas 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