I have a problem with a certain port. It compiles and installs fine (port install webkit-gtk
), and the actual problem occurs later (a certain symbol is not compiled into the library, but the details don't matter here).
In order to debug and fix this, I'd like to make some changes to the webkit-gtk sources before installing. With apt-get, I could do something like apt-get source packagename
.
I found that I can call
sudo port fetch webkit-gtk
sudo port extract webkit-gtk
sudo port patch webkit-gtk
sudo port configure webkit-gtk
to do the individual steps of the installation. However, after I make changes to the sources I can't continue because I get error messages. I think there is a problem with permissions, as I can only edit the files as root (chowning to myself breaks the build process, and I can't su macports
for some reason).
What I'd like to do is to make a few changes before the configure step, and then install the port with the changes as usual. How can I do that?