summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorcjs <cjs@pkgsrc.org>2004-02-19 11:37:11 +0000
committercjs <cjs@pkgsrc.org>2004-02-19 11:37:11 +0000
commit76cfc893c708072afec51af7d810d518578f98af (patch)
treeee788e6925bf91a85328130fa83f93cd0a24bc4a /emulators
parent9903e8072e542a42c238a6a0d7c8457c20cd150d (diff)
downloadpkgsrc-76cfc893c708072afec51af7d810d518578f98af.tar.gz
Make a link to /dev/tty in emul/linux/dev, since otherwise linux programs
writing to /dev/tty will instead attempt to create the file emul/linux/dev/tty.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse_base/Makefile5
-rw-r--r--emulators/suse_base/PLIST4
2 files changed, 6 insertions, 3 deletions
diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile
index 4c9601a8879..8aeebe7ce72 100644
--- a/emulators/suse_base/Makefile
+++ b/emulators/suse_base/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2003/09/18 16:25:21 jmmv Exp $
+# $NetBSD: Makefile,v 1.46 2004/02/19 11:37:11 cjs Exp $
DISTNAME= suse_base-${SUSE_VERSION}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SUSE:=a1/} \
${MASTER_SITE_SUSE_UPD:=a1/}
@@ -55,6 +55,7 @@ do-install:
${INSTALL_DATA_DIR} ${EMULDIR}/dev
${LN} -fs /dev/sound ${EMULDIR}/dev/dsp
${LN} -fs /dev/null ${EMULDIR}/dev/null
+ ${LN} -fs /dev/tty ${EMULDIR}/dev/tty
@${CP} ${WRKDIR}/PLIST ${PLIST_SRC}
${RPM2PKG} ${RPM2PKGARGS}
${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC}
diff --git a/emulators/suse_base/PLIST b/emulators/suse_base/PLIST
index 9a2de5c7c24..71e4fc71366 100644
--- a/emulators/suse_base/PLIST
+++ b/emulators/suse_base/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2003/03/22 01:22:30 dillo Exp $
+@comment $NetBSD: PLIST,v 1.6 2004/02/19 11:37:11 cjs Exp $
sbin/linux-mkpwd
@unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache
@@EMULSUBDIR@@/etc/SuSE-release
@@ -9,4 +9,6 @@ sbin/linux-mkpwd
@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/dsp
@exec ln -s /dev/null %D/@@EMULSUBDIR@@/dev/null
@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/null
+@exec ln -s /dev/tty %D/@@EMULSUBDIR@@/dev/tty
+@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/tty
@dirrm @@EMULSUBDIR@@/dev