most recent changes, diff for qt3
Index: x11/qt3/Portfile
--- x11/qt3/Portfile (revision 36807)
+++ x11/qt3/Portfile (revision 36808)
@@ -81,7 +81,7 @@
post-patch {
foreach file {CompileScript.sh InstallScript.sh} {
- file copy ${portpath}/${filesdir}/${file} ${worksrcpath}
+ copy ${portpath}/${filesdir}/${file} ${worksrcpath}
reinplace "s|%p|${prefix}|g" ${worksrcpath}/${file}
reinplace "s|%N|${name}|g" ${worksrcpath}/${file}
reinplace "s|%n|${name}|g" ${worksrcpath}/${file}
@@ -90,6 +90,7 @@
reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${file}
reinplace "s|%d|${destroot}|g" ${worksrcpath}/${file}
reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${file}
+ reinplace "s|__MAKE__|${build.cmd}|g" ${worksrcpath}/${file}
file attributes ${worksrcpath}/${file} -permissions 0755
}
}
@@ -113,6 +114,7 @@
#workaround for upgrade problem.
pre-build {if {[file exists ${prefix}/lib/libqassistantclient.a]} { system "ranlib ${prefix}/lib/libqassistantclient.a" }}
+use_parallel_build yes
build { system "cd ${worksrcpath} && ./CompileScript.sh" }
destroot { system "cd ${worksrcpath} && ./InstallScript.sh" }