diff --git a/emulators/freebsd_lib/Makefile b/emulators/freebsd_lib/Makefile index ea6deb70846..59f249b312c 100644 --- a/emulators/freebsd_lib/Makefile +++ b/emulators/freebsd_lib/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2000/09/24 07:04:05 brad Exp $ +# $OpenBSD: Makefile,v 1.15 2000/10/01 03:41:14 brad Exp $ ONLY_FOR_ARCHS= i386 @@ -20,8 +20,8 @@ NO_BUILD= Yes PREFIX= /usr/local/emul/freebsd pre-install: - @mkdir -p ${PREFIX} - @mkdir ${WRKINST}/emul + ${INSTALL_DATA_DIR} ${PREFIX} + ${INSTALL_DATA_DIR} ${WRKINST}/emul @ln -sf ${TRUEPREFIX} ${WRKINST}/emul/freebsd do-install: diff --git a/emulators/freebsd_lib/pkg/INSTALL b/emulators/freebsd_lib/pkg/INSTALL index 680bed5b0d4..a739c27fb81 100644 --- a/emulators/freebsd_lib/pkg/INSTALL +++ b/emulators/freebsd_lib/pkg/INSTALL @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: INSTALL,v 1.1 2000/06/20 18:14:13 brad Exp $ +# $OpenBSD: INSTALL,v 1.2 2000/10/01 03:41:14 brad Exp $ # # Pre/post-installation setup of freebsd_lib @@ -32,9 +32,9 @@ fi # case $2 in PRE-INSTALL) - mkdir -p /emul - mkdir -p ${PREFIX} - ln -sf ${PREFIX} /emul/freebsd + install -d -o root -g bin -m 755 /emul + install -d -o root -g bin -m 755 $PREFIX + ln -sf $PREFIX /emul/freebsd ;; POST-INSTALL) do_notice $1