> >> Someone might enable this as a subpackage in the future, since we now
> >> have an apache2 port in -current.
> >
> > Yes, I've already emailed both maintainers and suggested that. hey, you
> > already found one guy who's ready to test that stuff ;)
>
> I gave up with apache2 and svn 1.3.2 on 4.0-rel.
>
>
> With deanna@'s new port of apache22 and subversion 1.4.2 things look
> much more promising. I've made the following changes and was able to
> build a package containing 'mod_dav_svn':
>
> in apache-httpd's makefile:
>
> --- Makefile Fri Jan 19 19:04:33 2007
> +++ Makefile.mine Fri Jan 19 19:04:26 2007
> @@ -45,6 +45,8 @@
> --with-program-name=httpd2 \
> --enable-modules=all \
> --enable-cache \
> + --enable-dav \
> + --enable-dav-fs \
> --enable-disk-cache \
> --enable-proxy \
> --enable-mods-shared=all
>
>
> in subversion's makefile:
>
> --- Makefile Fri Jan 19 19:03:08 2007
> +++ Makefile.mine Fri Jan 19 19:02:57 2007
> @@ -99,7 +99,7 @@
> --with-apr-util=${LOCALBASE} \
> --with-zlib \
> --without-apache \
> - --without-apxs \
> + --with-apxs=${LOCALBASE}/sbin/apxs2 \
> --without-jdk
> .if !${FLAVOR:L:Mno_bindings}
> CONFIGURE_ARGS+=--enable-swig-bindings=perl,python,ruby \
>
>
> both packages will build and install, however, I haven't actually found
> out yet, how to move the additional files to the correct places:
>
> # find . -name "*mod_dav_svn*"
[...]
> ./ports/devel/subversion/w-subversion-1.4.2/fake-i386/usr/local/lib/apache2/mod_dav_svn.so
>
> I assume I have to add them to pkg/PLIST-main? Can someone point me to
> the missing step, please? Thanks for helping a desperate newbie.
it helps to begin by reading the documentation, and to look at other
ports, or even this particular port.
it's likely the mod_dav_svn stuff has some dependency on apache2. so you
could put the mod_dav_svn stuff into an -apache2 subpackage, with
PLIST-apache2, and add apache2 as a dependency of this subpackage,
instead of adding it as a dependency to the main subversion package...
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm