Installing Subversion using pkgsrc
Just a heads up that if you are going to try to Solaris subversion compile subversion using pkgsrc and you have already installed apache 2.2 then you will get an error saying that there is a failed dependency on apr 0.9. This is to do with the stable api of svn requiring that version but it works just fine with v1.
To install edit your /usr/pkg/etc/mk.conf and add the following
PKG_OPTIONS.subversion= apache22 apr1
Then do a make clean and make install and you are sorted.