summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-08-23 03:00:18 +0000
committerobache <obache@pkgsrc.org>2014-08-23 03:00:18 +0000
commit1f0cc1d9ac0b5971a347e2761a3f262a6a683074 (patch)
treee69aff4796982f69c1fa4cafe71a8bc70734ecdb /mk
parentc77051eabd3d8e10c950f5ae738b4b734b16ac94 (diff)
downloadpkgsrc-1f0cc1d9ac0b5971a347e2761a3f262a6a683074.tar.gz
Prevent to update timestamp of configure script with pkgsrc specific override.
It may be triger of unwanted rebuild.
Diffstat (limited to 'mk')
-rw-r--r--mk/configure/gnu-configure.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/configure/gnu-configure.mk b/mk/configure/gnu-configure.mk
index 007dc1619e9..2503abe6dec 100644
--- a/mk/configure/gnu-configure.mk
+++ b/mk/configure/gnu-configure.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gnu-configure.mk,v 1.16 2014/01/28 11:32:30 obache Exp $
+# $NetBSD: gnu-configure.mk,v 1.17 2014/08/23 03:00:18 obache Exp $
_VARGROUPS+= gnu-configure
_USER_VARS.gnu-configure= # none
@@ -104,6 +104,7 @@ _SCRIPT.configure-scripts-override= \
} \
{ print }' $$file > $$file.override; \
${CHMOD} +x $$file.override; \
+ ${TOUCH} -r $$file $$file.override; \
${MV} -f $$file.override $$file
OVERRIDE_DIRDEPTH.configure?= ${OVERRIDE_DIRDEPTH}
@@ -154,6 +155,7 @@ _SCRIPT.configure-scripts-osdep= \
} \
{ print $0 }' $$file >$$file.override; \
${CHMOD} +x $$file.override; \
+ ${TOUCH} -r $$file $$file.override; \
${MV} -f $$file.override $$file
.endif