--- apache-2.0.52-r2.ebuild.org 2004-12-24 12:37:18.144291200 +0100 +++ apache-2.0.52-r2.ebuild 2004-12-24 13:01:46.595820800 +0100 @@ -61,6 +61,12 @@ EPATCH_SUFFIX="patch" epatch ${APACHE_PATCHDIR} || die + # do not write into existing directories + if [ -d ${DATADIR}/htdocs ]; then einfo "Disabling install of htdocs." && sed -i 's/install-htdocs\ //' Makefile.in; fi + if [ -d ${DATADIR}/error ]; then einfo "Disabling install of error messages." && sed -i 's/install-error\ //' Makefile.in; fi + if [ -d ${DATADIR}/icons ]; then einfo "Disabling install of icons." && sed -i 's/install-icons\ //' Makefile.in; fi + if [ -d ${DATADIR}/cgi-bin ]; then einfo "Disabling install of cgi-scripts." && sed -i 's/install-cgi\ //' Makefile.in; fi + if use berkdb; then einfo "Enabling berkdb." if has_version '=sys-libs/db-4*'; then