summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2009-12-13 07:49:55 +0000
committermartti <martti@pkgsrc.org>2009-12-13 07:49:55 +0000
commitc46bbcf62ea271f536ebe7e026fe2928807583ec (patch)
treee4a90eb2b27cf8603fae6691096c499f9bfa4cbe /pkgtools
parentc289c5f11de1d8f65c2837a47a2ab7ebd3f4e0ef (diff)
downloadpkgsrc-c46bbcf62ea271f536ebe7e026fe2928807583ec.tar.gz
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 (limited to 'pkgtools')
-rw-r--r--pkgtools/rc.subr/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile
index 16b7094acbd..7374271752d 100644
--- a/pkgtools/rc.subr/Makefile
+++ b/pkgtools/rc.subr/Makefile
@@ -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_BUILD= yes
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