diff options
author | jlam <jlam@pkgsrc.org> | 2007-08-23 21:50:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-08-23 21:50:23 +0000 |
commit | f9c510a18e11cd861e7a1541c5b7594c7146baaa (patch) | |
tree | 5b1123bf8ca223cc1899491e8b9dcddcaff3fc22 /emulators/suse91_base | |
parent | c83a12f521db230329b63bb0b14a71999f3db66d (diff) | |
download | pkgsrc-f9c510a18e11cd861e7a1541c5b7594c7146baaa.tar.gz |
Only invoke MAKEDEV to create devices if that script exists (which
doesn't on FreeBSD-6.x).
This fixes PR pkg/34817 and PR pkg/36081.
Diffstat (limited to 'emulators/suse91_base')
-rw-r--r-- | emulators/suse91_base/INSTALL | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/emulators/suse91_base/INSTALL b/emulators/suse91_base/INSTALL index c26554c622d..25c9821f057 100644 --- a/emulators/suse91_base/INSTALL +++ b/emulators/suse91_base/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.6 2007/07/30 14:42:43 jlam Exp $ +# $NetBSD: INSTALL,v 1.7 2007/08/23 21:50:23 jlam Exp $ # Generate a +ROOT_ACTIONS script that runs certain actions that require # superuser privileges. @@ -57,9 +57,10 @@ ADD,0) ${CP} /dev/MAKEDEV ${EMULDIR}/dev ${TEST} ! -f /dev/MAKEDEV.subr || ${CP} /dev/MAKEDEV.subr ${EMULDIR}/dev - ( cd ${EMULDIR}/dev && - ${SH} ./MAKEDEV std audio && - ${LN} -fs sound dsp ) + ${TEST} ! -f ${EMULDIR}/dev/MAKEDEV || + ( cd ${EMULDIR}/dev && + ${SH} ./MAKEDEV std audio && + ${LN} -fs sound dsp ) # Create the appropriate symlink so that the kernel will # find the installed files. |