--- lib/libx11wn/Makefile.orig	Sun Jun  4 14:16:28 1995
+++ lib/libx11wn/Makefile	Wed Jun 24 00:23:21 1998
@@ -124,7 +124,7 @@
 # Use $D/. so we don't get a null target when $D is undefined.
 # We say sh -c to avoid exit status problems from the || construct.
 $D/.:
-	sh -c 'IFS=/; for i in $D; do test -d $$i || mkdir $$i; cd $$i; done'
+	sh -c 'for i in $D; do test -d $$i || mkdir -p $$i; cd $$i; done'
 
 $Dlibwn.${LIBSUFFIX}: $D/. ${OBJS}
 	rm -f $@
