Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2011 19:20:19 GMT
From:      Oliver Heesakkers <dev2@heesakkers.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154223: [patch] subversion builds mod_dav when told not to
Message-ID:  <201101221920.p0MJKJRg028906@red.freebsd.org>
Resent-Message-ID: <201101221930.p0MJUAP7038281@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101221920.p0MJKJRg028906>