[36808] trunk/dports/x11/qt3
takanori at macports.org
takanori at macports.org
Thu May 15 00:31:23 PDT 2008
Revision: 36808
http://trac.macosforge.org/projects/macports/changeset/36808
Author: takanori at macports.org
Date: 2008-05-15 00:31:22 -0700 (Thu, 15 May 2008)
Log Message:
-----------
qt3: enable parallel build
Modified Paths:
--------------
trunk/dports/x11/qt3/Portfile
trunk/dports/x11/qt3/files/CompileScript.sh
Modified: trunk/dports/x11/qt3/Portfile
===================================================================
--- trunk/dports/x11/qt3/Portfile 2008-05-15 06:19:58 UTC (rev 36807)
+++ trunk/dports/x11/qt3/Portfile 2008-05-15 07:31:22 UTC (rev 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" }
Modified: trunk/dports/x11/qt3/files/CompileScript.sh
===================================================================
--- trunk/dports/x11/qt3/files/CompileScript.sh 2008-05-15 06:19:58 UTC (rev 36807)
+++ trunk/dports/x11/qt3/files/CompileScript.sh 2008-05-15 07:31:22 UTC (rev 36808)
@@ -91,4 +91,4 @@
'-I/usr/X11R6/include' '-L/usr/X11R6/lib' \
$LIBRESOLV %c
- make
+ __MAKE__
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080515/e7b3f1e3/attachment.htm
More information about the macports-changes
mailing list