Revision
67118
Author
mww@macports.org
Date
2010-04-29 07:41:23 -0700 (Thu, 29 Apr 2010)

Log Message

add suffix to python files to avoid conflict with other gcc installations; inc. revision

Modified Paths

Diff

Modified: trunk/dports/lang/gcc45/Portfile (67117 => 67118)


--- trunk/dports/lang/gcc45/Portfile	2010-04-29 14:38:19 UTC (rev 67117)
+++ trunk/dports/lang/gcc45/Portfile	2010-04-29 14:41:23 UTC (rev 67118)
@@ -4,7 +4,7 @@
 
 name			gcc45
 version			4.5.0
-revision                1
+revision                2
 epoch                   1
 platforms		darwin
 categories		lang
@@ -112,6 +112,10 @@
 	# install select file for gcc_select
 	xinstall -m 755 -d ${destroot}${prefix}/etc/select/gcc
 	xinstall -m 444 ${filespath}/mp-gcc45 ${destroot}${prefix}/etc/select/gcc/
+	file rename ${destroot}${prefix}/share/python/aotcompile.py \
+		${destroot}${prefix}/share/python/aotcompile-45.py
+	file rename ${destroot}${prefix}/share/python/classfile.py \
+		${destroot}${prefix}/share/python/classfile-45.py
 }
 
 #platform darwin 7 {