Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2014 15:33:40 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369909 - head/Mk/Uses
Message-ID:  <201410031533.s93FXeLv031960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410031533.s93FXeLv031960>