Date: Fri, 13 May 2016 00:11:47 +0800 From: Julian Elischer <julian@freebsd.org> To: "ports@FreeBSD.org" <ports@freebsd.org> Subject: suggested patch for bsd.ports.mk Message-ID: <d857274b-908a-4873-1f81-ea99cb1fdbba@freebsd.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------A033BA34B462C0EAEFD42A0D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit This patch is pretty self explanatory. it allows us to keep patches for various ports separately in a sparse hierarchy while not having to write to the ports tree itself. In case the list scrubs hte text attachment (diff) here's the description part of the diff. >==== //depot/bugatti/FreeBSD-ports-PZ/10.1/Mk/bsd.port.mk#2 (text) ==== @@ -791,6 +791,11 @@ # The patches specified by this variable will be # applied after the normal distribution patches but # before those in ${PATCHDIR}. +# EXTRA_PATCH_TREE - where to find extra 'out-of-tree' patches +# Points to a directory hierarchy with the same layout +# as the ports tree, where local patches can be found. +# This allows a third party to keep their patches in +# some other source control system if needed. # PATCH_WRKSRC - Directory to apply patches in. # Default: ${WRKSRC} # If anyone thinks this is a good idea, I'd like it to go in as we have to maintain it.. I could commit it myself but haven't had my ports wings awarded yet.. --------------A033BA34B462C0EAEFD42A0D Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="EXTRA_PATCH_TREE" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="EXTRA_PATCH_TREE" Q2hhbmdlIDQ3NDQyIGJ5IGplbGlzY2hlckBqcmUtcG9ycmlkZ2UtMSBvbiAyMDE1LzAzLzI1 IDA4OjMwOjQyCgoJQWRkIHN1cG9ydCBmb3IgbG9jYWwgcGF0Y2hlcwoKQWZmZWN0ZWQgZmls ZXMgLi4uCgouLi4gLy9kZXBvdC9idWdhdHRpL0ZyZWVCU0QtcG9ydHMtUFovMTAuMS9Nay9i c2QucG9ydC5tayMyIGVkaXQKCkRpZmZlcmVuY2VzIC4uLgoKPT09PSAvL2RlcG90L2J1Z2F0 dGkvRnJlZU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oZW4gXAorCQkJCQkJCQkke0VDSE9fTVNHfSBg JHtFQ0hPX0NNRH0gIj0+IFBhdGNoKGVzKSAkJFBBVENIRVNfQVBQTElFRCBhcHBsaWVkIGNs ZWFubHkuIiB8ICR7U0VEfSAic3wke0VYVFJBX1BBVENIX1RSRUV9LyR7UEtHT1JJR0lOfS98 fGciYCA7IFwKKwkJCQkJCQlmaTsgXAorCQkJCQkJCSR7RkFMU0V9IDsgXAorCQkJCQkJZmk7 IFwKKwkJCQkJCTs7IFwKKwkJCQllc2FjOyBcCisJCQlkb25lOyBcCisJCWZpOyBcCisJZmkK Ky5lbmRpZgogLmVuZGlmCiAKIC5pZiAhdGFyZ2V0KHJ1bi1hdXRvdG9vbHMtZml4dXApCg== --------------A033BA34B462C0EAEFD42A0D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d857274b-908a-4873-1f81-ea99cb1fdbba>