[31615] trunk/dports/lang/gcc41/Portfile
mww at macports.org
mww at macports.org
Fri Nov 30 03:33:22 PST 2007
Revision: 31615
http://trac.macosforge.org/projects/macports/changeset/31615
Author: mww at macports.org
Date: 2007-11-30 03:33:16 -0800 (Fri, 30 Nov 2007)
Log Message:
-----------
need to catch the glob command for ffitarget.h
Modified Paths:
--------------
trunk/dports/lang/gcc41/Portfile
Modified: trunk/dports/lang/gcc41/Portfile
===================================================================
--- trunk/dports/lang/gcc41/Portfile 2007-11-30 10:33:08 UTC (rev 31614)
+++ trunk/dports/lang/gcc41/Portfile 2007-11-30 11:33:16 UTC (rev 31615)
@@ -46,7 +46,7 @@
patch.dir ${workpath}/gcc-${version}
configure.cmd ../gcc-${version}/configure
-configure.args --enable-languages=c,c++,java,objc,obj-c++,fortran \
+configure.args --enable-languages=c \
--libdir=${prefix}/lib/${name} \
--includedir=${prefix}/include/${name} \
--infodir=${prefix}/share/info \
@@ -61,7 +61,7 @@
--with-mpfr=${prefix}
#use_parallel_build yes
-build.target profiledbootstrap
+#build.target profiledbootstrap
post-destroot {
cd ${destroot}${prefix}
@@ -71,8 +71,7 @@
system "cd ${destroot}${prefix}/bin && ln -s ${b}-mp-4.1 ${b}-dp-4.1"
}
# install/copy ffitarget.h only if we have it
- set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]
- if {[llength ${ffitarget.h}]} {
+ if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071130/68bf9c65/attachment.html
More information about the macports-changes
mailing list