$NetBSD: patch-ag,v 1.1.1.1 2008/11/17 14:04:31 yhardy Exp $

--- mkinstalldirs.orig	2008-03-15 02:04:02.000000000 +0200
+++ mkinstalldirs	2008-03-15 02:04:38.000000000 +0200
@@ -24,9 +24,9 @@
      esac
 
      if test ! -d "$pathcomp"; then
-        echo "mkdir $pathcomp"
+        echo "@INSTALL_DATA_DIR@ $pathcomp"
 
-        mkdir "$pathcomp" || lasterr=$?
+        @INSTALL_DATA_DIR@ "$pathcomp" || lasterr=$?
 
         if test ! -d "$pathcomp"; then
   	  errstatus=$lasterr
