[48455] trunk/dports/science/qucs/files/patch-configure.diff

Ryan Schmidt ryandesign at macports.org
Sun Mar 22 15:57:18 PDT 2009


On Mar 22, 2009, at 17:39, Rolf Würdemann wrote:

> Am 22.03.2009 um 23:29 schrieb Ryan Schmidt:
>
>> On Mar 22, 2009, at 13:28, rowue at macports.org wrote:
>>
>>> Revision: 48455
>>>           http://trac.macports.org/changeset/48455
>>> Author:   rowue at macports.org
>>> Date:     2009-03-22 11:28:17 -0700 (Sun, 22 Mar 2009)
>>> Log Message:
>>> -----------
>>> Changed /opt/local/include/qt3 to $prefix/include/qt3
>>
>>
>>> -+  /usr/X11R6/include/qt2 /opt/local/include/qt3"
>>> ++  /usr/X11R6/include/qt2 $prefix/include/qt3"
>>
>>
>> You don't think that will work. You have to use a placeholder like  
>> @PREFIX@ in the patchfile, then replace that placeholder with the  
>> variable value in the portfile, as in
>
> Hm - but has  worked in test ;)

In that case, the patch may not be having any effect at all. Have you  
tried without patching that line?


>> post-patch {
>> 	reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/configure
>> }
>
> applied, testing, afterwards committing




More information about the macports-dev mailing list