svn commit: r448610 - in head/devel/leatherman: . files

Thierry Thomas thierry at FreeBSD.org
Thu Aug 24 12:18:40 UTC 2017


Le mer. 23 août 17 à 16:08:36 +0200, Romain Tartière <romain at FreeBSD.org>
 écrivait :

> Another point with `make makepatch`: in the post-patch target, I alter
> the patched source code.  `make makepatch` wants the combined patches to
> be combined:
> 
> ---------------------------------- 8< ----------------------------------
> -+        return "%%PREFIX%%/etc/facter/facter.conf";
> ++        return "/usr/local/etc/facter/facter.conf";
> ---------------------------------- 8< ----------------------------------

This is why this kind of substitutions are better in pre-configure.
Logically, post-patch is for static replacements, not for variables
depending on the configuration options.
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170824/2b4af477/attachment.sig>


More information about the svn-ports-all mailing list