$NetBSD: patch-aw,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $

--- script/installmodules.sh.orig	2006-04-20 03:29:42.000000000 +0100
+++ script/installmodules.sh	2007-02-11 17:24:32.000000000 +0000
@@ -11,7 +11,7 @@
 
 for d in $prefix $LIBDIR; do
 if [ ! -d $DESTDIR/$d ]; then
-mkdir $DESTDIR/$d
+mkdir -p $DESTDIR/$d
 if [ ! -d $DESTDIR/$d ]; then
   echo Failed to make directory $DESTDIR/$d
   exit 1