[51294] trunk/dports/devel/cpphs/Portfile
toby at macports.org
toby at macports.org
Fri May 22 02:18:21 PDT 2009
Revision: 51294
http://trac.macports.org/changeset/51294
Author: toby at macports.org
Date: 2009-05-22 02:18:21 -0700 (Fri, 22 May 2009)
Log Message:
-----------
remove cd, #19554
Modified Paths:
--------------
trunk/dports/devel/cpphs/Portfile
Modified: trunk/dports/devel/cpphs/Portfile
===================================================================
--- trunk/dports/devel/cpphs/Portfile 2009-05-22 09:15:28 UTC (rev 51293)
+++ trunk/dports/devel/cpphs/Portfile 2009-05-22 09:18:21 UTC (rev 51294)
@@ -18,23 +18,23 @@
depends_build port:ghc
-pre-configure { cd ${worksrcpath}
- system "ghc -o Setup Setup.hs -package Cabal"
+pre-configure {
+ system "ghc -o ${worksrcpath}/Setup ${worksrcpath}/Setup.hs -package Cabal"
}
-configure { cd ${worksrcpath}
- system "./Setup configure --ghc --prefix=${prefix}"
+configure {
+ system "cd ${worksrcpath} && ${worksrcpath}/Setup configure --ghc --prefix=${prefix}"
}
-build { cd ${worksrcpath}
- system "./Setup build -v"
+build {
+ system "cd ${worksrcpath} && ${worksrcpath}/Setup build -v"
}
-destroot { cd ${worksrcpath}
+destroot {
- system "./Setup copy --copy-prefix=${destroot}${prefix}"
- system "./Setup register --gen-script"
- system "./Setup unregister --gen-script"
+ system "cd ${worksrcpath} && ${worksrcpath}/Setup copy --copy-prefix=${destroot}${prefix}"
+ system "cd ${worksrcpath} && ${worksrcpath}/Setup register --gen-script"
+ system "cd ${worksrcpath} && ${worksrcpath}/Setup unregister --gen-script"
file mkdir ${destroot}${prefix}/libexec/${name}
file copy ${worksrcpath}/register.sh \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090522/134ef6cf/attachment-0001.html>
More information about the macports-changes
mailing list