From owner-cvs-ports@FreeBSD.ORG Wed Dec 22 20:04:59 2010 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59BA110656A5; Wed, 22 Dec 2010 20:04:59 +0000 (UTC) (envelope-from ade@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4A68B8FC1F; Wed, 22 Dec 2010 20:04:59 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBMK4xx8074076; Wed, 22 Dec 2010 20:04:59 GMT (envelope-from ade@repoman.freebsd.org) Received: (from ade@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBMK4xKw074075; Wed, 22 Dec 2010 20:04:59 GMT (envelope-from ade) Message-Id: <201012222004.oBMK4xKw074075@repoman.freebsd.org> From: Ade Lovett Date: Wed, 22 Dec 2010 20:04:59 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/Mk bsd.autotools.mk X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2010 20:04:59 -0000 ade 2010-12-22 20:04:59 UTC FreeBSD ports repository Modified files: Mk bsd.autotools.mk Log: As the final (for now) cleanup of autotools, in order to reduce tree churn on new versions, a new target has been introduced to allow PLIST_SUB-style patching of files. For example, rather than patching "foo/bar/baz" to tweak some random occurance of an autoconf version number to the latest, the patch should now replace it with %%AUTOCONF_VERSION%% A new Makefile variable, AUTOTOOLSFILES has been introduced, which when populated will automatically go through and patch %%AUTOCONF_VERSION%% to the contents of ${AUTOCONF_VERSION} (and likewise for all other known autotools variables -- "make -V AUTOTOOLS_VARS" to see the list for a specific port. Tested by: pav (-exp run, since it touches bsd.port.mk also) Revision Changes Path 1.39 +28 -15 ports/Mk/bsd.autotools.mk