Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2002 16:32:03 +0100
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42929: Fix www/mod_gzip make environment for LOCALBASE cleanliness
Message-ID:  <E17rgo7-000LkG-00@voi.aagh.net>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17rgo7-000LkG-00>