diff options
author | tijl <tijl@FreeBSD.org> | 2014-10-03 23:33:39 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-10-03 23:33:39 +0800 |
commit | 751f714f50ac3ccf6e2d9fcd0b94b7f270a49b63 (patch) | |
tree | aacc7e51cf4c8a713e3241b854f16a5ab2cc886c | |
parent | 70c0982efb45a897747dbf07ed637afbf874c819 (diff) | |
download | freebsd-ports-gnome-751f714f50ac3ccf6e2d9fcd0b94b7f270a49b63.tar.gz freebsd-ports-gnome-751f714f50ac3ccf6e2d9fcd0b94b7f270a49b63.tar.zst freebsd-ports-gnome-751f714f50ac3ccf6e2d9fcd0b94b7f270a49b63.zip |
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.
-rw-r--r-- | Mk/Uses/autoreconf.mk | 4 |
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 |