summaryrefslogtreecommitdiff
path: root/mk/pkginstall
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-23 12:30:30 +0000
committerjoerg <joerg>2007-08-23 12:30:30 +0000
commit09a3f48a4427f00d7ddc5acfe67c3e8ebdeca944 (patch)
tree1d44317c65d4b5e325761486bf4499d9f8f3f6ae /mk/pkginstall
parent74dfc4f3209f5495b73501c492559f104449eb4e (diff)
downloadpkgsrc-09a3f48a4427f00d7ddc5acfe67c3e8ebdeca944.tar.gz
Do not check that RCD_SCRIPTS_SRC.foo exists, assume so.
This unbreaks DESTDIR installation for mail/spamassassin, when extract and install phase are part of the same make run.
Diffstat (limited to 'mk/pkginstall')
-rw-r--r--mk/pkginstall/bsd.pkginstall.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk
index 87977854846..732ab60e5b3 100644
--- a/mk/pkginstall/bsd.pkginstall.mk
+++ b/mk/pkginstall/bsd.pkginstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkginstall.mk,v 1.30 2007/08/02 16:00:33 jlam Exp $
+# $NetBSD: bsd.pkginstall.mk,v 1.31 2007/08/23 12:30:30 joerg Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and implements the
# common INSTALL/DEINSTALL scripts framework. To use the pkginstall
@@ -1042,7 +1042,6 @@ RCD_SCRIPT_SRC.${_script_}?= ${FILESDIR}/${_script_}.sh
RCD_SCRIPT_WRK.${_script_}?= ${WRKDIR}/${_script_}
. if !empty(RCD_SCRIPT_SRC.${_script_})
-. if exists(${RCD_SCRIPT_SRC.${_script_}})
generate-rcd-scripts: ${RCD_SCRIPT_WRK.${_script_}}
${RCD_SCRIPT_WRK.${_script_}}: ${RCD_SCRIPT_SRC.${_script_}}
@${STEP_MSG} "Creating ${.TARGET}"
@@ -1058,7 +1057,6 @@ install-rcd-${_script_}: ${RCD_SCRIPT_WRK.${_script_}}
${INSTALL_SCRIPT} ${RCD_SCRIPT_WRK.${_script_}} \
${DESTDIR}${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/${_script_}; \
fi
-. endif
. endif
.endfor