From owner-freebsd-ports Wed Sep 18 8:40:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A1C937B404 for ; Wed, 18 Sep 2002 08:40:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6187543E7B for ; Wed, 18 Sep 2002 08:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8IFe3Co067002 for ; Wed, 18 Sep 2002 08:40:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8IFe3d7066999; Wed, 18 Sep 2002 08:40:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50E4437B401 for ; Wed, 18 Sep 2002 08:32:09 -0700 (PDT) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4316543E6A for ; Wed, 18 Sep 2002 08:32:08 -0700 (PDT) (envelope-from freaky@voi.aagh.net) Received: from voi.aagh.net ([213.105.22.20]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020918153207.MFVH11421.mta03-svc.ntlworld.com@voi.aagh.net> for ; Wed, 18 Sep 2002 16:32:07 +0100 Received: from freaky by voi.aagh.net with local (Exim 4.10) id 17rgo7-000LkG-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 18 Sep 2002 16:32:03 +0100 Message-Id: Date: Wed, 18 Sep 2002 16:32:03 +0100 From: Thomas Hurst Reply-To: Thomas Hurst To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42929: Fix www/mod_gzip make environment for LOCALBASE cleanliness Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42929 >Category: ports >Synopsis: Fix www/mod_gzip make environment for LOCALBASE cleanliness >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 18 08:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Thomas Hurst >Release: FreeBSD 4.6-STABLE i386 >Organization: None >Environment: System: FreeBSD voi.freak.lan 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 14:48:39 BST 2002 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386 >Description: Makefile sets APXS=${LOCALBASE}/sbin/apxs, presumably expecting it to propagate to the main make process. It doesn't. >How-To-Repeat: cd /usr/ports/www/mod_gzip && env LOCALBASE=/foo/bar make Note it compiles using /usr/local/sbin/apxs instead of /foo/bar/sbin/apxs. >Fix: Apply the following patch to the port Makefile. --- Makefile.orig Wed Sep 18 16:19:49 2002 +++ Makefile Wed Sep 18 16:21:20 2002 @@ -20,6 +20,8 @@ APXS?= ${LOCALBASE}/sbin/apxs APACHE_PORT?= ${PORTSDIR}/www/apache13 +MAKE_ENV+= "APXS=${APXS}" + ALL_TARGET= build .include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message