Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.lib.mk,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- src/share/mk/bsd.lib.mk 1993/04/04 15:31:38 1.4 +++ src/share/mk/bsd.lib.mk 1993/04/08 14:02:00 1.5 @@ -100,6 +100,14 @@ depend: .depend .if !target(install) .if !target(beforeinstall) beforeinstall: + @if [ ! -d ${DESTDIR}${LIBDIR} ]; then \ + /bin/rm ${DESTDIR}${LIBDIR} ; \ + mkdir -p ${DESTDIR}${LIBDIR} ; \ + chown root.wheel ${DESTDIR}${LIBDIR} ; \ + chmod 755 ${DESTDIR}${LIBDIR} ; \ + else \ + true ; \ + fi .endif realinstall: beforeinstall