From 751f714f50ac3ccf6e2d9fcd0b94b7f270a49b63 Mon Sep 17 00:00:00 2001 From: tijl Date: Fri, 3 Oct 2014 15:33:39 +0000 Subject: Autoreconf runs automake in GNU mode which requires files like AUTHORS, NEWS and ChangeLog to exist. Let USES=autoreconf deal with that so ports don't have to. --- Mk/Uses/autoreconf.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit