From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 11 00:10:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36E5D16A47B for ; Wed, 11 Oct 2006 00:10:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28B6843D5A for ; Wed, 11 Oct 2006 00:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9B0AFkB085633 for ; Wed, 11 Oct 2006 00:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9B0AEqd085632; Wed, 11 Oct 2006 00:10:14 GMT (envelope-from gnats) Resent-Date: Wed, 11 Oct 2006 00:10:14 GMT Resent-Message-Id: <200610110010.k9B0AEqd085632@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edwin Groothuis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A6AF16A416 for ; Wed, 11 Oct 2006 00:03:35 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail4out.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3FAD43D77 for ; Wed, 11 Oct 2006 00:03:34 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail4out.barnet.com.au (Postfix, from userid 1001) id 06E5D37B939; Wed, 11 Oct 2006 10:03:34 +1000 (EST) Received: from mail4auth.barnet.com.au (mail4.barnet.com.au [202.83.178.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail4.barnet.com.au (Postfix) with ESMTP id CDB314226A1 for ; Wed, 11 Oct 2006 10:03:33 +1000 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail4auth.barnet.com.au (Postfix) with ESMTP id 7CA6D37B8C8 for ; Wed, 11 Oct 2006 10:03:33 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 5E43E31E; Wed, 11 Oct 2006 10:03:33 +1000 (EST) Message-Id: <20061011000333.5E43E31E@k7.mavetju> Date: Wed, 11 Oct 2006 10:03:33 +1000 (EST) From: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/104282: bsd.apache.mk - strange apache20 vs apache22 issue X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Edwin Groothuis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 00:10:16 -0000 >Number: 104282 >Category: ports >Synopsis: bsd.apache.mk - strange apache20 vs apache22 issue >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 11 00:10:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 6.1-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: On a machine with Apache 2.2, I try to install www/mod_perl2. mod_perl2 has USE_APACHE=2.0+: [/usr/ports/www/mod_perl2] root@ports>make all-depends-list /usr/ports/lang/perl5.8 /usr/ports/www/apache22 /usr/ports/lang/python And then to install www/p5-Apache-DBI with mod_perl2. p5-Apache-DBI has USE_APACHE=yes: [/usr/ports/www/p5-Apache-DBI] root@ports>WITH_MODPERL2=yes make -V USE_APACHE yes [/usr/ports/www/p5-Apache-DBI] root@ports>WITH_MODPERL2=yes make all-depends-list /usr/ports/lang/perl5.8 /usr/ports/www/apache20 Changing USE_APACHE=yes to USE_APACHE=1.3+, it depends on: [/usr/ports/www/p5-Apache-DBI] root@ports>WITH_MODPERL2=yes make -V USE_APACHE 1.3+ [/usr/ports/www/p5-Apache-DBI] root@ports>WITH_MODPERL2=yes make all-depends-list /usr/ports/lang/perl5.8 /usr/ports/www/apache22 >How-To-Repeat: >Fix: In bsd.port.mk, replace: APACHE_PORT?= www/apache20 with something in the line of: FOO!= httpd -v | awk -F/ '{ print $2 }' | awk -F. '{ print $1$2 }' | head -1 USE_APACHE!= www/apache${FOO} >Release-Note: >Audit-Trail: >Unformatted: