[31595] trunk/dports/lang/gcc41/Portfile
mww at macports.org
mww at macports.org
Wed Nov 28 13:45:00 PST 2007
Revision: 31595
http://trac.macosforge.org/projects/macports/changeset/31595
Author: mww at macports.org
Date: 2007-11-28 13:44:59 -0800 (Wed, 28 Nov 2007)
Log Message:
-----------
install/copy ffitarget.h if it is available -- this makes the powerpc variant obsolete
Modified Paths:
--------------
trunk/dports/lang/gcc41/Portfile
Modified: trunk/dports/lang/gcc41/Portfile
===================================================================
--- trunk/dports/lang/gcc41/Portfile 2007-11-28 21:29:40 UTC (rev 31594)
+++ trunk/dports/lang/gcc41/Portfile 2007-11-28 21:44:59 UTC (rev 31595)
@@ -70,6 +70,11 @@
foreach b { c++ cpp fastjar g++ gcc gccbug gcj gcjh gcov gfortran gjnih grepjar } {
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}]} {
+ file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
+ }
}
platform darwin 8 {
@@ -80,13 +85,6 @@
patchfiles patch-darwin.h
}
-platform powerpc {
- post-destroot {
- system "cd ${destroot}${prefix}/include/${name} && \
- cp ../../lib/${name}/gcc/*/${version}/include/libffi/ffitarget.h ."
- }
-}
-
variant odcctools {
depends_lib-append bin:odas:odcctools
patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071128/7fd9a3a3/attachment.html
More information about the macports-changes
mailing list