pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Install the rcd scripts at post-install time, not a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7852012b291c
branches: trunk
changeset: 460891:7852012b291c
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Sep 06 11:43:55 2003 +0000
description:
Install the rcd scripts at post-install time, not at post-install-script
time. The rc.d script needs to be recorded in the PLIST, and
post-install-script time is too late if we use dynamic PLISTs.
diffstat:
mk/bsd.pkg.install.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c5a95cc5ac70 -r 7852012b291c mk/bsd.pkg.install.mk
--- a/mk/bsd.pkg.install.mk Sat Sep 06 11:41:31 2003 +0000
+++ b/mk/bsd.pkg.install.mk Sat Sep 06 11:43:55 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.install.mk,v 1.48 2003/09/06 11:41:31 jlam Exp $
+# $NetBSD: bsd.pkg.install.mk,v 1.49 2003/09/06 11:43:55 jlam Exp $
#
# This Makefile fragment is included by package Makefiles to use the common
# INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply:
@@ -276,7 +276,7 @@
${_PKG_SILENT}${_PKG_DEBUG}${SETENV} ${INSTALL_SCRIPTS_ENV} \
${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
-post-install-script: install-rcd-scripts
+post-install-script:
${_PKG_SILENT}${_PKG_DEBUG}${SETENV} ${INSTALL_SCRIPTS_ENV} \
${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
@@ -321,6 +321,7 @@
generate-rcd-scripts: # do nothing
.PHONY: install-rcd-scripts
+post-install: install-rcd-scripts
install-rcd-scripts: # do nothing
.for _script_ in ${RCD_SCRIPTS}
Home |
Main Index |
Thread Index |
Old Index