[32756] trunk/dports/graphics/antigraingeometry/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 00:34:52 PST 2008


Revision: 32756
          http://trac.macosforge.org/projects/macports/changeset/32756
Author:   ryandesign at macports.org
Date:     2008-01-13 00:34:50 -0800 (Sun, 13 Jan 2008)

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

Modified Paths:
--------------
    trunk/dports/graphics/antigraingeometry/Portfile

Modified: trunk/dports/graphics/antigraingeometry/Portfile
===================================================================
--- trunk/dports/graphics/antigraingeometry/Portfile	2008-01-13 03:52:22 UTC (rev 32755)
+++ trunk/dports/graphics/antigraingeometry/Portfile	2008-01-13 08:34:50 UTC (rev 32756)
@@ -39,14 +39,13 @@
 automake.args       --foreign --add-missing --ignore-deps
 
 pre-configure {
-    cd ${worksrcpath}
-    system "autoheader"
+    system "cd ${worksrcpath} && autoheader"
     if {[variant_isset darwin]} {
-        system "aclocal -I /usr/share/aclocal"
-        system "glibtoolize --force"
+        system "cd ${worksrcpath} && aclocal -I /usr/share/aclocal"
+        system "cd ${worksrcpath} && glibtoolize --force"
     } else {
-        system "aclocal"
-        system "libtoolize --force"
+        system "cd ${worksrcpath} && aclocal"
+        system "cd ${worksrcpath} && libtoolize --force"
     }
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/0019814d/attachment.html


More information about the macports-changes mailing list