<span id="result_box" class="long_text"><span title="当我建立这三个ports时,发现对应的QtScript.pc QtSql.pc Qt3Support.pc 
安装到/usr/local/lib/qt/pkgconfig目录下,而pkg-plist中显示这三个文件存放目录是/">When I 
created these three ports ver qt 4.6.2,  found the corresponding QtScript.pc 
QtSql.pc Qt3Support.pc installed in &quot;/usr/local/lib/qt/pkgconfig&quot;
 directory, but pkg-plist stored in the three documents show that this 
directory is &quot;/</span><span title="usr/local/libdata/pkgconfig">usr/local/libdata/pkgconfig&quot;</span></span><br clear="all"><br>post-configure:<br>    ${REINPLACE_CMD} -e &#39;s|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g&#39; \<br>
        -e &#39;s|.*$$(QMAKE).*||g&#39; ${BUILD_WRKSRC}/Makefile<br><br><span id="result_box" class="short_text"><span style="background-color: rgb(255, 255, 255);" title="如下修改可正常工作">The following modifications to 
work properly</span></span>:<br><br>post-configure:<br>
    ${REINPLACE_CMD} -e 
&#39;s|${PREFIX}/lib/qt/pkgconfig|${PREFIX}/libdata/pkgconfig|g&#39; \<br>
        -e &#39;s|.*$$(QMAKE).*||g&#39; ${BUILD_WRKSRC}/Makefile<br>-- <br><a href="mailto:dbhrscom@gmail.com">dbhrscom@gmail.com</a><br>