[34181] trunk/dports/x11/lablgtk/Portfile

pguyot at kallisys.net pguyot at kallisys.net
Sat Feb 16 10:16:13 PST 2008


Revision: 34181
          http://trac.macosforge.org/projects/macports/changeset/34181
Author:   pguyot at kallisys.net
Date:     2008-02-16 10:16:11 -0800 (Sat, 16 Feb 2008)

Log Message:
-----------
Avoid cd command

Modified Paths:
--------------
    trunk/dports/x11/lablgtk/Portfile

Modified: trunk/dports/x11/lablgtk/Portfile
===================================================================
--- trunk/dports/x11/lablgtk/Portfile	2008-02-16 17:12:05 UTC (rev 34180)
+++ trunk/dports/x11/lablgtk/Portfile	2008-02-16 18:16:11 UTC (rev 34181)
@@ -19,14 +19,11 @@
 					rmd160 27be7ff29fe4370bc9a1bbef8c0fa0db590f27c4
 depends_lib			bin:camlp4:ocaml lib:libgtk.1:gtk1
 configure {
-	#weird weird build process
-	cd ${worksrcpath}
-	system "make configure \
+	system "cd ${worksrcpath} && make configure \
 		USE_DOTOPT=1 \
 		INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgtk \
 		BINDIR=${destroot}${prefix}/bin \
-		DLLDIR=${destroot}${prefix}/lib/ocaml/stublibs"
-	system "make"
+		DLLDIR=${destroot}${prefix}/lib/ocaml/stublibs && make"
 }
 build.target	opt
 post-destroot { 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080216/3342eef4/attachment.html 


More information about the macports-changes mailing list