pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/hal Use MAKE_DIRS and OWN_DIRS instead of INS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ebf2fac95d29
branches:  trunk
changeset: 555352:ebf2fac95d29
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sat Feb 28 14:54:23 2009 +0000

description:
Use MAKE_DIRS and OWN_DIRS instead of INSTALL as suggested by Joerg.

diffstat:

 sysutils/hal/INSTALL  |  9 ---------
 sysutils/hal/Makefile |  6 ++++--
 2 files changed, 4 insertions(+), 11 deletions(-)

diffs (33 lines):

diff -r 61e07bdc5fba -r ebf2fac95d29 sysutils/hal/INSTALL
--- a/sysutils/hal/INSTALL      Sat Feb 28 14:00:23 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# $NetBSD: INSTALL,v 1.1 2009/02/28 14:00:23 ahoka Exp $
-
-case ${STAGE} in
-POST-INSTALL)
-       if [ ! -e /media ]; then
-               mkdir /media
-       fi
-       ;;
-esac
diff -r 61e07bdc5fba -r ebf2fac95d29 sysutils/hal/Makefile
--- a/sysutils/hal/Makefile     Sat Feb 28 14:00:23 2009 +0000
+++ b/sysutils/hal/Makefile     Sat Feb 28 14:54:23 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2009/02/28 14:00:23 ahoka Exp $
+# $NetBSD: Makefile,v 1.35 2009/02/28 14:54:23 ahoka Exp $
 
 DISTNAME=              hal-0.5.11
 PKGREVISION=           21
@@ -20,7 +20,9 @@
 USE_TOOLS+=            autoconf automake autoreconf
 USE_LIBTOOL=           YES
 
-MAKE_DIRS=             ${VARBASE}/cache/hald
+OWN_DIRS+=             /media
+MAKE_DIRS+=            /media
+MAKE_DIRS+=            ${VARBASE}/cache/hald
 SPECIAL_PERMS+=                ${VARBASE}/cache/hald ${HAL_USER} ${HAL_GROUP} 0644
 
 EGDIR=                 ${PREFIX}/share/examples/hal



Home | Main Index | Thread Index | Old Index