[32766] trunk/dports/devel/HaXml/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 02:33:59 PST 2008


Revision: 32766
          http://trac.macosforge.org/projects/macports/changeset/32766
Author:   ryandesign at macports.org
Date:     2008-01-13 02:33:58 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
HaXml: no longer use the deprecated 'cd' command

Modified Paths:
--------------
    trunk/dports/devel/HaXml/Portfile

Modified: trunk/dports/devel/HaXml/Portfile
===================================================================
--- trunk/dports/devel/HaXml/Portfile	2008-01-13 10:31:44 UTC (rev 32765)
+++ trunk/dports/devel/HaXml/Portfile	2008-01-13 10:33:58 UTC (rev 32766)
@@ -30,22 +30,18 @@
 		  file delete src/Text/PrettyPrint
 		}
 
-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}"
-		  system "./Setup register   --gen-script"
-		  system "./Setup unregister --gen-script"
+destroot	{ system "cd ${worksrcpath} && ./Setup copy --copy-prefix=${destroot}${prefix}"
+		  system "cd ${worksrcpath} && ./Setup register   --gen-script"
+		  system "cd ${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/20080113/e0cefa23/attachment.html


More information about the macports-changes mailing list