svn commit: r369909 - head/Mk/Uses

Tijl Coosemans tijl at FreeBSD.org
Fri Oct 3 15:33:40 UTC 2014


Author: tijl
Date: Fri Oct  3 15:33:39 2014
New Revision: 369909
URL: https://svnweb.freebsd.org/changeset/ports/369909
QAT: https://qat.redports.org/buildarchive/r369909/

Log:
  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.

Modified:
  head/Mk/Uses/autoreconf.mk

Modified: head/Mk/Uses/autoreconf.mk
==============================================================================
--- head/Mk/Uses/autoreconf.mk	Fri Oct  3 15:10:33 2014	(r369908)
+++ head/Mk/Uses/autoreconf.mk	Fri Oct  3 15:33:39 2014	(r369909)
@@ -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
 


More information about the svn-ports-all mailing list