Revision
69310
Author
ryandesign@macports.org
Date
2010-06-29 20:26:24 -0700 (Tue, 29 Jun 2010)

Log Message

mapm3: do patching in patch phase, not configure phase; use "use_configure no"; this disables the universal variant

Modified Paths

Diff

Modified: trunk/dports/science/mapm3/Portfile (69309 => 69310)


--- trunk/dports/science/mapm3/Portfile	2010-06-30 02:39:25 UTC (rev 69309)
+++ trunk/dports/science/mapm3/Portfile	2010-06-30 03:26:24 UTC (rev 69310)
@@ -28,10 +28,12 @@
                         patch-system.h \
                         patch-xqtl
 
-configure {
+post-patch {
     reinplace "s|^DIR= /usr/local/bin|DIR= ${prefix}/bin|g" "${worksrcpath}/Makefile"
 }
 
+use_configure           no
+
 pre-destroot {
     reinplace "s|^DIR= ${prefix}/bin|DIR= ${destroot}${prefix}/bin|g" "${worksrcpath}/Makefile"
 }