pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr Fix problems detected in my Slackware...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fd3e692ed4d
branches:  trunk
changeset: 568428:3fd3e692ed4d
user:      martti <martti%pkgsrc.org@localhost>
date:      Sun Dec 13 07:49:55 2009 +0000

description:
Fix problems detected in my Slackware installation.

http://mail-index.netbsd.org/pkgsrc-users/2009/09/09/msg010660.html
http://mail-index.netbsd.org/pkgsrc-users/2009/09/09/msg010664.html

diffstat:

 pkgtools/rc.subr/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r c54ecba775d6 -r 3fd3e692ed4d pkgtools/rc.subr/Makefile
--- a/pkgtools/rc.subr/Makefile Sun Dec 13 02:01:27 2009 +0000
+++ b/pkgtools/rc.subr/Makefile Sun Dec 13 07:49:55 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/02/10 00:26:26 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2009/12/13 07:49:55 martti Exp $
 #
 
 DISTNAME=              rc.subr-20090118
@@ -20,15 +20,16 @@
 NO_CONFIGURE=          yes
 
 CHECK_FILES_SUPPORTED= no
+BUILD_DEFS+=           RCD_SCRIPTS_DIR
 
 PLIST_SUBST+=          RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR:S/^\///}
 
-CONF_FILES+=           ${PREFIX}etc/rc.conf.example ${PREFIX}etc/rc.conf
+CONF_FILES+=           etc/rc.conf.example etc/rc.conf
 
 INSTALLATION_DIRS=     etc ${RCD_SCRIPTS_DIR:S/^\///}
 
 do-extract:
-       @${CP} -R ${FILESDIR} ${WRKSRC}
+       ${CP} -R ${FILESDIR} ${WRKSRC}
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/rc.conf.example ${DESTDIR}${PREFIX}etc/rc.conf.example



Home | Main Index | Thread Index | Old Index