summaryrefslogtreecommitdiff
path: root/emulators/suse_base
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/suse_base')
-rw-r--r--emulators/suse_base/Makefile10
-rw-r--r--emulators/suse_base/PLIST13
2 files changed, 11 insertions, 12 deletions
diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile
index b7b51bb2b58..4eee4ca0607 100644
--- a/emulators/suse_base/Makefile
+++ b/emulators/suse_base/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2005/06/16 06:57:51 jlam Exp $
+# $NetBSD: Makefile,v 1.55 2005/08/16 00:30:41 dmcmahill Exp $
DISTNAME= suse_base-${SUSE_VERSION}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SUSE:=a1/} \
${MASTER_SITE_SUSE_UPD:=a1/}
@@ -59,9 +59,9 @@ do-install:
${INSTALL_SCRIPT} $$FILE ${PREFIX}/sbin/`basename $$FILE .sh`; \
done
${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
+ ${INSTALL_DATA} /dev/MAKEDEV ${EMULDIR}/dev
+ cd ${EMULDIR}/dev && ${SH} ./MAKEDEV std audio
+ cd ${EMULDIR}/dev && ${LN} -fs sound dsp
@${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 71e4fc71366..2084926e421 100644
--- a/emulators/suse_base/PLIST
+++ b/emulators/suse_base/PLIST
@@ -1,14 +1,13 @@
-@comment $NetBSD: PLIST,v 1.6 2004/02/19 11:37:11 cjs Exp $
+@comment $NetBSD: PLIST,v 1.7 2005/08/16 00:30:41 dmcmahill Exp $
sbin/linux-mkpwd
@unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache
@@EMULSUBDIR@@/etc/SuSE-release
@@EMULSUBDIR@@/etc/ld.so.conf
@unexec cd %D/@@EMULSUBDIR@@/etc && ${RM} -f group gshadow passwd shadow
@exec ${MKDIR} %D/@@EMULSUBDIR@@/dev
-@exec ln -s /dev/sound %D/@@EMULSUBDIR@@/dev/dsp
-@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
+@exec cp -p /dev/MAKEDEV %D/@@EMULSUBDIR@@/dev
+@exec cd %D/@@EMULSUBDIR@@/dev && sh ./MAKEDEV std audio
+@exec cd %D/@@EMULSUBDIR@@/dev && ln -s sound dsp
+@unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/*
@dirrm @@EMULSUBDIR@@/dev
+