Bug 97932 - [PATCH] devel/subversion: Fix installation of mod_dav_svn with apache > 2.0
Summary: [PATCH] devel/subversion: Fix installation of mod_dav_svn with apache > 2.0
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: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-25 22:10 UTC by Paul Dlug
Modified: 2006-06-06 19:55 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (629 bytes, patch)
2006-05-25 22:10 UTC, Paul Dlug
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Dlug 2006-05-25 22:10:14 UTC
If you build subversion with WITH_MOD_DAV_SVN and you are running apache22 instead of apache2 the module silently fails to install. This is because the module install path is hardcoded to PREFIX/libexec/apache2. The right fix for this is to query APXS to determin the module directory. The patch included does exactly that (see other ports that do this such as www/p5-Apache-DBI for example), it falls back to the hardcoded PREFIX/libexec/apache2 if no build could be detected. Tested under 6.1 STABLE with apache-2.2.2 installed.

P.S. There are a bunch of portlint errors you might want to look into.

Port maintainer (lev@freebsd.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-25 22:16:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lev

Over to maintainer
Comment 2 Lev A. Serebryakov freebsd_committer freebsd_triage 2006-06-06 19:54:32 UTC
State Changed
From-To: open->closed


Fixed, thanks.