subversion +mod_dav_svn triggers mtree violation on /opt/local/apache2
port install -d subversion +mod_dav_svn results in:
--snip--
man1/svn.1.gz: changing permissions from 00644 to 00444
man1/svnadmin.1: 43.7% -- replaced with man1/svnadmin.1.gz
man1/svnadmin.1.gz: changing permissions from 00644 to 00444
man1/svndumpfilter.1: 43.9% -- replaced with man1/svndumpfilter.1.gz
man1/svndumpfilter.1.gz: changing permissions from 00644 to 00444
man1/svnlook.1: 43.5% -- replaced with man1/svnlook.1.gz
man1/svnlook.1.gz: changing permissions from 00644 to 00444
man1/svnsync.1: 43.2% -- replaced with man1/svnsync.1.gz
man1/svnsync.1.gz: changing permissions from 00644 to 00444
man1/svnversion.1: 42.8% -- replaced with man1/svnversion.1.gz
man1/svnversion.1.gz: changing permissions from 00644 to 00444
DEBUG: Scanning man5
man5/svnserve.conf.5: 58.0% -- replaced with man5/svnserve.conf.5.gz
man5/svnserve.conf.5.gz: changing permissions from 00644 to 00444
DEBUG: Scanning man8
man8/svnserve.8: 58.2% -- replaced with man8/svnserve.8.gz
man8/svnserve.8.gz: changing permissions from 00644 to 00444
DEBUG: checking for mtree violations
Error: violation by /opt/local/apache2
Error: Target org.macports.destroot returned: mtree violation!
Warning: the following items did not execute (for subversion): org.macports.activate org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
Priority reduced to Normal since in MacPorts 1.5.2 this condition is no longer a fatal error.
I imagine the +mac_os_x_server_mod_dav_svn variant will be similarly affected.
I propose the attached patch.