pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/suse_base Also remove /dev/fd from emul/linu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1f6838de8d2
branches:  trunk
changeset: 513345:d1f6838de8d2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri May 26 11:45:24 2006 +0000

description:
Also remove /dev/fd from emul/linux, since DragonFly's MAKEDEV creates
it. Bump revision for this. Set a number of CHECK_FILES_SKIP entries
to let the package pass CHECK_FILES.

diffstat:

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

diffs (45 lines):

diff -r 91dd790856f8 -r d1f6838de8d2 emulators/suse_base/Makefile
--- a/emulators/suse_base/Makefile      Fri May 26 11:43:42 2006 +0000
+++ b/emulators/suse_base/Makefile      Fri May 26 11:45:24 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.59 2006/03/14 01:14:28 jlam Exp $
+# $NetBSD: Makefile,v 1.60 2006/05/26 11:45:24 joerg Exp $
 
 DISTNAME=              suse_base-${SUSE_VERSION}
-PKGREVISION=           8
+PKGREVISION=           9
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SUSE:=a1/} \
                        ${MASTER_SITE_SUSE_UPD:=a1/}
@@ -21,6 +21,15 @@
 RPMFILES=              aaa_dir.rpm gppshare.rpm ncurses.rpm \
                        readline.rpm bash.rpm sh-utils.rpm
 
+# these files are handled by manually during de-/installation/pkg_add
+CHECK_FILES_SKIP+=      ${PREFIX}/${EMULSUBDIR}/dev/.*
+CHECK_FILES_SKIP+=      ${PREFIX}/${EMULSUBDIR}/etc/ld.so.cache
+CHECK_FILES_SKIP+=      ${PREFIX}/${EMULSUBDIR}/etc/rc.d
+CHECK_FILES_SKIP+=      ${PREFIX}/${EMULSUBDIR}/cdrom
+CHECK_FILES_SKIP+=      ${PREFIX}/${EMULSUBDIR}/floppy
+CHECK_FILES_SKIP+=      ${PREFIX}/${EMULSUBDIR}/usr/lib/X11
+CHECK_FILES_SKIP+=      ${PREFIX}/${EMULSUBDIR}/usr/spool
+
 .include "../../emulators/suse_linux/arch.mk"
 
 .if ${SUSE_ARCH} == "i386"
diff -r 91dd790856f8 -r d1f6838de8d2 emulators/suse_base/PLIST
--- a/emulators/suse_base/PLIST Fri May 26 11:43:42 2006 +0000
+++ b/emulators/suse_base/PLIST Fri May 26 11:45:24 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2005/09/10 21:53:27 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2006/05/26 11:45:24 joerg Exp $
 sbin/linux-mkpwd
 @unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache
 @@EMULSUBDIR@@/etc/SuSE-release
@@ -8,5 +8,6 @@
 @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 ${RMDIR} %D/@@EMULSUBDIR@@/dev/fd || ${TRUE}
 @unexec ${RM} -f %D/@@EMULSUBDIR@@/dev/*
 @dirrm @@EMULSUBDIR@@/dev



Home | Main Index | Thread Index | Old Index