[32767] trunk/dports/devel/hs-Crypto/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jan 13 02:36:53 PST 2008
Revision: 32767
http://trac.macosforge.org/projects/macports/changeset/32767
Author: ryandesign at macports.org
Date: 2008-01-13 02:36:53 -0800 (Sun, 13 Jan 2008)
Log Message:
-----------
hs-Crypto: no longer use the deprecated 'cd' command
Modified Paths:
--------------
trunk/dports/devel/hs-Crypto/Portfile
Modified: trunk/dports/devel/hs-Crypto/Portfile
===================================================================
--- trunk/dports/devel/hs-Crypto/Portfile 2008-01-13 10:33:58 UTC (rev 32766)
+++ trunk/dports/devel/hs-Crypto/Portfile 2008-01-13 10:36:53 UTC (rev 32767)
@@ -25,25 +25,20 @@
depends_build port:ghc
-pre-configure { cd ${worksrcpath}
- system "ghc -o Setup Setup.hs -package Cabal"
+pre-configure { system "cd ${worksrcpath} && ghc -o Setup Setup.hs -package Cabal"
}
-configure { cd ${worksrcpath}
- system "./Setup configure --ghc --prefix=${prefix}"
+configure { system "cd ${worksrcpath} && ./Setup configure --ghc --prefix=${prefix}"
}
-build { cd ${worksrcpath}
- system "./Setup build"
+build { system "cd ${worksrcpath} && ./Setup build"
}
-destroot { cd ${worksrcpath}
- system "./Setup copy --copy-prefix=${destroot}${prefix}"
+destroot { system "cd ${worksrcpath} && ./Setup copy --copy-prefix=${destroot}${prefix}"
}
-post-activate { cd ${worksrcpath}
- catch {system "./Setup unregister"}
- system "./Setup register"
+post-activate { catch {system "cd ${worksrcpath} && ./Setup unregister"}
+ system "cd ${worksrcpath} && ./Setup register"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/a69fba83/attachment.html
More information about the macports-changes
mailing list