Apt and yum.
It was a very long time ago indeed that you needed to manually edit popular programs to build in your environment.