Bug 42929 - Fix www/mod_gzip make environment for LOCALBASE cleanliness
Summary: Fix www/mod_gzip make environment for LOCALBASE cleanliness
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-18 16:40 UTC by Thomas Hurst
Modified: 2003-01-08 17:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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