summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index bd61877d012..60fd921e248 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1386 2004/02/11 10:34:05 xtraeme Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1387 2004/02/12 08:55:34 seb Exp $
#
# This file is in the public domain.
#
@@ -2447,10 +2447,10 @@ _CONFIGURE_POSTREQ+= do-config-status-override
do-config-status-override:
. for file in ${CONFIG_STATUS_OVERRIDE}
${_PKG_SILENT}${_PKG_DEBUG} \
- if [ -f ${file} ]; then \
- ${RM} -f ${file}; \
- ( ${ECHO} '#!${SH}'; ${ECHO} 'exit 0' ) > ${file}; \
- ${CHMOD} +x ${file}; \
+ if [ -f ${WRKSRC}/${file} ]; then \
+ ${RM} -f ${WRKSRC}/${file}; \
+ ( ${ECHO} '#!${SH}'; ${ECHO} 'exit 0' ) > ${WRKSRC}/${file}; \
+ ${CHMOD} +x ${WRKSRC}/${file}; \
fi
. endfor
.endif