Bug 42929

Summary: Fix www/mod_gzip make environment for LOCALBASE cleanliness
Product: Ports & Packages Reporter: Thomas Hurst <freaky>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Thomas Hurst 2002-09-18 16:40:02 UTC
	Makefile sets APXS=${LOCALBASE}/sbin/apxs, presumably expecting
	it to propagate to the main make process.  It doesn't.

Fix: Apply the following patch to the port Makefile.



+MAKE_ENV+=     "APXS=${APXS}"
+
 ALL_TARGET=    build

 .include <bsd.port.mk>--Mwzgdwsx2UgocTnJb2GsNNS9sCNQhZIeMhnUDtmRc1mF0sin
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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
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.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-01-08 17:17:36 UTC
Does the maintainer approve this change?
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2003-01-08 17:44:57 UTC
State Changed
From-To: open->closed

Committed, thanks