pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/suse_base Make a link to /dev/tty in emul/li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/572901e1b77d
branches:  trunk
changeset: 469053:572901e1b77d
user:      cjs <cjs%pkgsrc.org@localhost>
date:      Thu Feb 19 11:37:11 2004 +0000

description:
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:

 emulators/suse_base/Makefile |  5 +++--
 emulators/suse_base/PLIST    |  4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r ce9095cc28c1 -r 572901e1b77d emulators/suse_base/Makefile
--- a/emulators/suse_base/Makefile      Thu Feb 19 11:22:53 2004 +0000
+++ b/emulators/suse_base/Makefile      Thu Feb 19 11:37:11 2004 +0000
@@ -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 @@
        ${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 -r ce9095cc28c1 -r 572901e1b77d emulators/suse_base/PLIST
--- a/emulators/suse_base/PLIST Thu Feb 19 11:22:53 2004 +0000
+++ b/emulators/suse_base/PLIST Thu Feb 19 11:37:11 2004 +0000
@@ -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 @@
 @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



Home | Main Index | Thread Index | Old Index