$OpenBSD: patch-solenv_bin_ooinstall,v 1.4 2014/10/10 17:13:10 robert Exp $
--- solenv/bin/ooinstall.orig.port	Fri Aug 22 16:22:41 2014
+++ solenv/bin/ooinstall	Mon Sep  1 23:26:02 2014
@@ -87,10 +87,12 @@ if ($is_windows) {
 # make distro-pack-install shufle with the SDK installation to make it LSB compliant
 # it creates symlinks from the orignal path to /usr/share; they are not valid with $DESTDIR
 # and potential second ooinstall call fails with strange error messages if the old tree is still there
-if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") {
-    print "Cleaning destdir...\n";
-    system ("rm -rf \"$ENV{DESTDIR}\"") && die "Failed to clean up destdir: $!";
-}
+### SKIP ON OPENBSD ###
+#if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") {
+#    print "Cleaning destdir...\n";
+#    system ("rm -rf \"$ENV{DESTDIR}\"") && die "Failed to clean up destdir: $!";
+#}
+#######################
 
 print "Running LibreOffice installer\n";
 
