Question: What is the preferred method of modifying the sources of a given third party package before its installed? Allow me to clarify.
After installing Midnight Commander: [cmd=]sudo pkg_add -r mc[/cmd]
I found the package suffered from an ftp issue I sought to fix. I next removed mc, installed its port sources and after some wrestling with make patched the sources and installed the modified version successfully.
(Please bear with me here, I'm new to FreeBSD and am attempting to describe the problem using proper nomenclature).
If one needs to edit the sources of a port, yet one can only invoke make (that I'm currently aware of) to start the build process, how is it possible to first edit, then build a port's sources?
If my case to solve this, I invoked make followed by CTRL-C to disrupt the build process, edited the necessary file, then ran make again. But I'm thinking I've approached things the hard way when a better, more streamlined solution likely exists.
After installing Midnight Commander: [cmd=]sudo pkg_add -r mc[/cmd]
I found the package suffered from an ftp issue I sought to fix. I next removed mc, installed its port sources and after some wrestling with make patched the sources and installed the modified version successfully.
(Please bear with me here, I'm new to FreeBSD and am attempting to describe the problem using proper nomenclature).
If one needs to edit the sources of a port, yet one can only invoke make (that I'm currently aware of) to start the build process, how is it possible to first edit, then build a port's sources?
If my case to solve this, I invoked make followed by CTRL-C to disrupt the build process, edited the necessary file, then ran make again. But I'm thinking I've approached things the hard way when a better, more streamlined solution likely exists.