Revision
108529
Author
larryv@macports.org
Date
2013-07-25 13:43:22 -0700 (Thu, 25 Jul 2013)

Log Message

rust: Fix incorrect regex. Sigh.

Modified Paths

Diff

Modified: trunk/dports/lang/rust/Portfile (108528 => 108529)


--- trunk/dports/lang/rust/Portfile	2013-07-25 20:41:14 UTC (rev 108528)
+++ trunk/dports/lang/rust/Portfile	2013-07-25 20:43:22 UTC (rev 108529)
@@ -124,7 +124,7 @@
 depends_skip_archcheck  python27
 
 # The libs for both targets link to libgcc and libstdc++.
-if {[regexp {^macports-gcc-(\d\+)\.(\d\+)$} ${configure.compiler} \
+if {[regexp {^macports-gcc-(\d+)\.(\d+)$} ${configure.compiler} \
                                             -> major minor]} {
     depends_lib-append      {path:lib/libstdc\\+\\+\\.6\\.dylib:libstdcxx}
     require_active_variants gcc${major}${minor} universal