diff options
author | seb <seb@pkgsrc.org> | 2004-02-12 08:55:33 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2004-02-12 08:55:33 +0000 |
commit | d9d8a581de8b2d79af0b94cf58be87f54a5a329c (patch) | |
tree | 6965a983e78b15d32fa5445ee6dd38bf51762a9e /mk/bsd.pkg.mk | |
parent | 3d0294d0d4d10cb9e1d9bc4f2365a39416337fea (diff) | |
download | pkgsrc-d9d8a581de8b2d79af0b94cf58be87f54a5a329c.tar.gz |
Make pathnames listed in CONFIG_STATUS_OVERRIDE relative to WRKSRC.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 10 |
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 |