summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-08-23 21:50:23 +0000
committerjlam <jlam@pkgsrc.org>2007-08-23 21:50:23 +0000
commit41df4ef21198232ccf243e636d1d60d921ac3690 (patch)
tree5b1123bf8ca223cc1899491e8b9dcddcaff3fc22 /emulators
parent12a42a5765637a07e8bb7faf034575484d8befe2 (diff)
downloadpkgsrc-41df4ef21198232ccf243e636d1d60d921ac3690.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')
-rw-r--r--emulators/suse100_base/INSTALL9
-rw-r--r--emulators/suse91_base/INSTALL9
2 files changed, 10 insertions, 8 deletions
diff --git a/emulators/suse100_base/INSTALL b/emulators/suse100_base/INSTALL
index 0f46bf58fa7..f86e8838a85 100644
--- a/emulators/suse100_base/INSTALL
+++ b/emulators/suse100_base/INSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.7 2007/07/30 14:42:43 jlam Exp $
+# $NetBSD: INSTALL,v 1.8 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.
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.