best way to maintain local ports tree changes

Mathieu Arnold mat at FreeBSD.org
Tue Nov 7 17:03:42 UTC 2017


Le 07/11/2017 à 16:54, Miroslav Lachman a écrit :
> What is the best way to maintain local ports tree changes?
>
> I am building packages in poudriere, 4 different sets for 2 archs (8
> sets in total).
>
> I have some local ports and some changes to official ports. Now we are
> planing to do some small changes in ports/Mk too.

I would advise against patching the framework directly, most things are
configurable, what problems do you have with ports/Mk ?
Are you aware of the Mk/bsd.local.mk file that is there to allow you to
not change the other files ?
As for the ports, you can also add a Makefile.local that will be parsed
after the main Makefile, it may help you depending on what you change in
existing ports.

> So what is the best way to get ports tree in sync with official ports
> tree but keep our local changes without a need to apply patches
> manually over and over?
>
> What are you guys using for this scenario?
>
> Kind regards
> Miroslav Lachman
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171107/e88e8b6d/attachment.sig>


More information about the freebsd-ports mailing list