Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 1997 07:31:23 -1000
From:      richard@pegasus.com (Richard Foulk)
To:        Cy Ardoin <ardoin@cycon.com>, Mike Tancsa <mike@sentex.net>
Cc:        questions@FreeBSD.ORG, stable@FreeBSD.ORG
Subject:   Re: /usr/include/ufs/ffs missing?...Make world failure on  2.2-RELENG
Message-ID:  <199706091731.HAA00309@pegasus.com>
In-Reply-To: Cy Ardoin <ardoin@cycon.com> "Re: /usr/include/ufs/ffs missing?...Make world failure on  2.2-RELENG" (Jun  9,  9:48am)

next in thread | previous in thread | raw e-mail | index | archive | help
} I found that the Makefile in /usr/include has an error for ufs.
} There are two lines 
} 
} LUDIR= ufs
} UDIRS= ufs/ffs ufs/lfs....
} 
}  
} down later in the Makefile there are "for" loops.  The loop that
} creates the directories is backwards.  It references UDIRS before
} LUDIR.  So the directory doesn't exist.  Switching the order on that loop
} works.
} 
} .for i in ${LDIRS} ${LUDIR} ${UDIRS} machine
}         if [ ! -d ${DESTDIR}/usr/include/$i ]; then \
}                 mkdir ${DESTDIR}/usr/include/$i; \
}                 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$i; \
}                 chmod 755 ${DESTDIR}/usr/include/$i; \
}         fi
} .endfor
} 
} 

How about `mkdir -p' instead, then the order doesn't matter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706091731.HAA00309>