Revision: 69310 http://trac.macports.org/changeset/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: -------------- trunk/dports/science/mapm3/Portfile Modified: trunk/dports/science/mapm3/Portfile =================================================================== --- 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" }
participants (1)
-
ryandesign@macports.org