Revision
68355
Author
ryandesign@macports.org
Date
2010-06-01 18:16:57 -0700 (Tue, 01 Jun 2010)

Log Message

triangle: patch in the patch phase, not in the extract and configure phases

Modified Paths

Diff

Modified: trunk/dports/science/triangle/Portfile (68354 => 68355)


--- trunk/dports/science/triangle/Portfile	2010-06-02 01:15:37 UTC (rev 68354)
+++ trunk/dports/science/triangle/Portfile	2010-06-02 01:16:57 UTC (rev 68355)
@@ -28,12 +28,9 @@
 
 extract.mkdir		yes
 
-post-extract	{
+post-patch	{
     reinplace "s/-DLINUX//" ${worksrcpath}/makefile
     reinplace "s|/usr/X11R6|${prefix}|g" ${worksrcpath}/makefile
-}
-
-post-configure	{
     reinplace "s|CC = cc|CC = ${configure.cc}|g" ${worksrcpath}/makefile
 }