<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 "/usr/local/lib/qt/pkgconfig"
directory, but pkg-plist stored in the three documents show that this
directory is "/</span><span title="usr/local/libdata/pkgconfig">usr/local/libdata/pkgconfig"</span></span><br clear="all"><br>post-configure:<br> ${REINPLACE_CMD} -e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \<br>
-e 's|.*$$(QMAKE).*||g' ${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
's|${PREFIX}/lib/qt/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \<br>
-e 's|.*$$(QMAKE).*||g' ${BUILD_WRKSRC}/Makefile<br>-- <br><a href="mailto:dbhrscom@gmail.com">dbhrscom@gmail.com</a><br>