summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-05 14:51:24 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-05 14:51:24 +0000
commit7bf49615625e901497430da426174f0e199e0802 (patch)
tree50510f8fd8679c8f8b5f19ba70a8845ec378068b
parentee651bf5d2bed29dd435222193207b82ebe6a030 (diff)
downloadpkgsrc-7bf49615625e901497430da426174f0e199e0802.tar.gz
RC scripts should be installed relative to DESTDIR as well.
-rw-r--r--mk/pkginstall/bsd.pkginstall.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk
index c2daca46614..853c913dac3 100644
--- a/mk/pkginstall/bsd.pkginstall.mk
+++ b/mk/pkginstall/bsd.pkginstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkginstall.mk,v 1.15 2006/09/22 21:53:58 joerg Exp $
+# $NetBSD: bsd.pkginstall.mk,v 1.16 2006/11/05 14:51:24 joerg Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and implements the
# common INSTALL/DEINSTALL scripts framework. To use the pkginstall
@@ -960,9 +960,9 @@ install-rcd-scripts: install-rcd-${_script_}
install-rcd-${_script_}: ${RCD_SCRIPT_WRK.${_script_}}
${_PKG_SILENT}${_PKG_DEBUG} \
if [ -f ${RCD_SCRIPT_WRK.${_script_}} ]; then \
- ${MKDIR} ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}; \
+ ${MKDIR} ${DESTDIR}${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}; \
${INSTALL_SCRIPT} ${RCD_SCRIPT_WRK.${_script_}} \
- ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/${_script_}; \
+ ${DESTDIR}${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/${_script_}; \
fi
. endif
. endif