aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-10-03 15:33:39 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-10-03 15:33:39 +0000
commit048a74771d01983c9a5c2868be0dbd9770d5ce3a (patch)
treeaacc7e51cf4c8a713e3241b854f16a5ab2cc886c /Mk
parentec11453c302a09019611cda6386dcb96872658a3 (diff)
downloadports-048a74771d01983c9a5c2868be0dbd9770d5ce3a.tar.gz
ports-048a74771d01983c9a5c2868be0dbd9770d5ce3a.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/autoreconf.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/autoreconf.mk b/Mk/Uses/autoreconf.mk
index 067e3556b03e..ecd3c9ddd90a 100644
--- a/Mk/Uses/autoreconf.mk
+++ b/Mk/Uses/autoreconf.mk
@@ -75,6 +75,10 @@ _INCLUDE_USES_AUTORECONF_POST_MK= yes
.if ! ${autoreconf_ARGS:Mbuild}
do-autoreconf:
+.for f in AUTHORS ChangeLog INSTALL NEWS README
+# Don't modify time stamps if the files already exist
+ @test -e ${CONFIGURE_WRKSRC}/${f} || ${TOUCH} ${CONFIGURE_WRKSRC}/${f}
+.endfor
@(cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/autoreconf -f -i)
.endif