From d9d8a581de8b2d79af0b94cf58be87f54a5a329c Mon Sep 17 00:00:00 2001 From: seb Date: Thu, 12 Feb 2004 08:55:33 +0000 Subject: Make pathnames listed in CONFIG_STATUS_OVERRIDE relative to WRKSRC. --- mk/bsd.pkg.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mk/bsd.pkg.mk') 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 -- cgit v1.2.3