summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-23 12:30:30 +0000
committerjoerg <joerg>2007-08-23 12:30:30 +0000
commit6f7d49d78d4bbe7e655d3ab437613175d38d94f0 (patch)
tree1d44317c65d4b5e325761486bf4499d9f8f3f6ae /mk
parentec6a7fc430dfb1be50cf67ced0c72064445be933 (diff)
downloadpkgsrc-6f7d49d78d4bbe7e655d3ab437613175d38d94f0.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')
-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