ports/154223: [patch] subversion builds mod_dav when told not to

Oliver Heesakkers dev2 at heesakkers.info
Sat Jan 22 19:30:11 UTC 2011


>Number:         154223
>Category:       ports
>Synopsis:       [patch] subversion builds mod_dav when told not to
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 22 19:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Heesakkers
>Release:        8.1-RELEASE-p2 amd64
>Organization:
>Environment:
>Description:
When you have apache installed, but you don't want mod_dav, subversion will build the dav modules anyway as it auto-detects the presence of apxs

Specifying --with-apxs=no during configure ensures no modules are build and more importantly stops the build from editing httpd.conf
>How-To-Repeat:
- Have apache installed (note I always build apache outside the ports-system)
- make config to disable MOD_DAV_SVN
- make install
= mod_dav modules appear in apache's modules directory and httpd.con is altered to load them
>Fix:
--- subversion/Makefile.common_orig     2011-01-22 19:57:34.000000000 +0100
+++ subversion/Makefile.common  2011-01-22 19:58:27.000000000 +0100
@@ -81,6 +81,7 @@
 PLIST_SUB+=    MOD_DONTDOTHAT="@comment "
 .endif
 .else
+CONFIGURE_ARGS+=       --with-apxs=no
 PLIST_SUB+=    MOD_DAV_SVN="@comment "
 PLIST_SUB+=    MOD_DONTDOTHAT="@comment "
 SUB_LIST+=     MOD_DAV_SVN_INSTALL="NO"

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list