how do I patch a file that is created after configure?

Ryan Schmidt ryandesign at macports.org
Thu Oct 23 17:12:27 PDT 2008


On Oct 23, 2008, at 14:31, Olaf Foellinger wrote:

> libgtkhtml3 doesn't builds here because a generated file does not  
> work.
> How do I tell the portfile to configure first and patch then?

The patch phase always precedes the configure phase. So you'll need  
to run a patch command yourself after configure, like:

post-configure {
	system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch- 
something.diff"
}



More information about the macports-users mailing list