Re: Temporary fixing a file in /opt/local/share… generated by another port
Lawrence Velázquez
larryv at macports.org
Thu Sep 26 12:20:10 PDT 2013
On Sep 26, 2013, at 11:47 AM, Vincent Habchi <vince at macports.org> wrote:
> The newest version of QGis does not compile because of bug in SIP 4.15.x. Specifically, the file qsyntaxhighlighter.sip located in ${prefix}/share/pyXX-sip/PyQt4/QtGui is buggy, and causes an error. I own a fixed copy which allow a correct build.
>
> Question: can I "patch" the qsyntaxhighlighter.sip file during the time of the build, returning it to its normal buggy version at the end, or shall I proceed an other way?
Theoretically you can run the patch phase as superuser with "patch.asroot yes", but mucking around in ${prefix} is really unorthodox. If py-sip is actually installing a buggy file, wouldn't it be easier (and more correct) to fix py-sip and revbump?
vq
More information about the macports-dev
mailing list