| 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 | ||
Does the maintainer approve this change? State Changed From-To: open->closed Committed, thanks |
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.