| Summary: | Fix for mod_ruby installation w/ non-port apache | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Sean Chittenden <seanc> | ||||
| Component: | Individual Port(s) | Assignee: | Akinori MUSHA <knu> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | knu | ||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports->knu Over to maintainer State Changed From-To: open->closed Patch applied, thanks. |
As per discussion on #ruby-lang, mod_ruby (and likely many other mod_*) assume that everyone uses ${LOCALBASE} for installation of apache (esp via the ports). Unfortunately, that's not always the case. To sidestep this bullet, use of apxs is required. Fix: Apply the attached patch to www/mod_ruby/Makefile and set APXS to whatever is required before making/installing. Ex: setenv APXS /www/bin/apxs portinstall mod_ruby # or: cd /usr/ports/www/mod_ruby && make APXS=/www/bin/apxs install How-To-Repeat: Install a custom version of apache into a different directory (ex: /www) and attempt to install mod_ruby.