diff options
author | seb <seb> | 2002-05-14 12:47:48 +0000 |
---|---|---|
committer | seb <seb> | 2002-05-14 12:47:48 +0000 |
commit | c5cf649f8762d2a9a9e412ea61de44cdb2fb9389 (patch) | |
tree | 38fa82f8ad4f7567fea23a3fad039718c9f64e31 /mk/bsd.pkg.mk | |
parent | 14f2d2da28969ebd427fb5bb68f08aa9a67f0fc8 (diff) | |
download | pkgsrc-c5cf649f8762d2a9a9e412ea61de44cdb2fb9389.tar.gz |
Introduce NULL_COOKIE and use it instead of /dev/null for touch (see PR 15597).
While here remove some old comments.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 2672a807c4a..b4051473072 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.976 2002/05/13 11:43:05 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.977 2002/05/14 12:47:48 seb Exp $ # # This file is in the public domain. # @@ -293,14 +293,13 @@ BUILD_DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext BUILD_DEPENDS+= {gettext-0.10.35nb1,gettext-m4-[0-9]*}:../../devel/gettext-m4 .endif -# Don't change these!!! These names are built into the _TARGET_USE macro, -# there is no way to refer to them cleanly from within the macro AFAIK. EXTRACT_COOKIE= ${WRKDIR}/.extract_done CONFIGURE_COOKIE= ${WRKDIR}/.configure_done INSTALL_COOKIE= ${WRKDIR}/.install_done BUILD_COOKIE= ${WRKDIR}/.build_done PATCH_COOKIE= ${WRKDIR}/.patch_done PACKAGE_COOKIE= ${WRKDIR}/.package_done +NULL_COOKIE= ${WRKDIR}/.null # New message digest defs DIGEST_ALGORITHM?= SHA1 @@ -1847,7 +1846,7 @@ automake-pre-override: ${_PKG_SILENT}${_PKG_DEBUG} \ (for _PATTERN in ${AUTOMAKE_PATTERNS}; do \ ${FIND} ${WRKSRC} -type f -name "$$_PATTERN" -print; \ - done; echo /dev/null ) | \ + done; echo ${NULL_COOKIE} ) | \ ${XARGS} ${TOUCH} ${TOUCH_FLAGS} . endif @@ -1862,7 +1861,7 @@ automake-post-override: ${_PKG_SILENT}${_PKG_DEBUG} \ (for _PATTERN in ${AUTOMAKE_POST_PATTERNS}; do \ ${FIND} ${WRKSRC} -type f -name "$$_PATTERN" -print; \ - done; echo /dev/null ) | \ + done; echo ${NULL_COOKIE} ) | \ ${XARGS} ${TOUCH} ${TOUCH_FLAGS} . endif .endif # AUTOMAKE_OVERRIDE |