pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/hal Fix (de-)installation if "PKG_SYSCONFBASE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2917a86d607f
branches:  trunk
changeset: 553582:2917a86d607f
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Jan 25 16:20:36 2009 +0000

description:
Fix (de-)installation if "PKG_SYSCONFBASE" is set. Bump package revision
because of this package list change.

Reviewed by Jared McNeill.

diffstat:

 sysutils/hal/Makefile |   5 ++---
 sysutils/hal/PLIST    |  18 +++++++++---------
 2 files changed, 11 insertions(+), 12 deletions(-)

diffs (43 lines):

diff -r 843bf0ee69ba -r 2917a86d607f sysutils/hal/Makefile
--- a/sysutils/hal/Makefile     Sun Jan 25 14:21:26 2009 +0000
+++ b/sysutils/hal/Makefile     Sun Jan 25 16:20:36 2009 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2009/01/23 11:13:38 sketch Exp $
-#
+# $NetBSD: Makefile,v 1.33 2009/01/25 16:20:36 tron Exp $
 
 DISTNAME=              hal-0.5.11
-PKGREVISION=           19
+PKGREVISION=           20
 CATEGORIES=            sysutils
 MASTER_SITES=          http://hal.freedesktop.org/releases/
 EXTRACT_SUFX=          .tar.bz2
diff -r 843bf0ee69ba -r 2917a86d607f sysutils/hal/PLIST
--- a/sysutils/hal/PLIST        Sun Jan 25 14:21:26 2009 +0000
+++ b/sysutils/hal/PLIST        Sun Jan 25 16:20:36 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2008/12/20 21:11:05 jmcneill Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/01/25 16:20:36 tron Exp $
 bin/hal-device
 bin/hal-disable-polling
 bin/hal-find-by-capability
@@ -105,11 +105,11 @@
 @dirrm lib/hal/scripts
 @dirrm lib/hal
 @dirrm include/hal
-@exec ${MKDIR} %D/etc/hal/fdi/preprobe
-@dirrm etc/hal/fdi/preprobe
-@exec ${MKDIR} %D/etc/hal/fdi/policy
-@dirrm etc/hal/fdi/policy
-@exec ${MKDIR} %D/etc/hal/fdi/information
-@dirrm etc/hal/fdi/information
-@dirrm etc/hal/fdi
-@dirrm etc/hal
+@exec ${MKDIR} ${PKG_SYSCONFDIR}/hal/fdi/information
+@exec ${MKDIR} ${PKG_SYSCONFDIR}/hal/fdi/policy
+@exec ${MKDIR} ${PKG_SYSCONFDIR}/hal/fdi/preprobe
+@unexec ${RMDIR} ${PKG_SYSCONFDIR}/hal/fdi/preprobe 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} ${PKG_SYSCONFDIR}/hal/fdi/policy 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} ${PKG_SYSCONFDIR}/hal/fdi/information 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} ${PKG_SYSCONFDIR}/hal/fdi 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} ${PKG_SYSCONFDIR}/hal 2>/dev/null || ${TRUE}



Home | Main Index | Thread Index | Old Index