[101994] trunk/dports/sysutils/htop/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 23 18:53:38 PST 2013


Revision: 101994
          https://trac.macports.org/changeset/101994
Author:   ryandesign at macports.org
Date:     2013-01-23 18:53:38 -0800 (Wed, 23 Jan 2013)
Log Message:
-----------
htop: fix configure failure by creating m4 directory beforehand (#37765)

Modified Paths:
--------------
    trunk/dports/sysutils/htop/Portfile

Modified: trunk/dports/sysutils/htop/Portfile
===================================================================
--- trunk/dports/sysutils/htop/Portfile	2013-01-24 02:26:24 UTC (rev 101993)
+++ trunk/dports/sysutils/htop/Portfile	2013-01-24 02:53:38 UTC (rev 101994)
@@ -28,8 +28,12 @@
 
 depends_lib         port:ncurses
 
+post-extract {
+    file mkdir ${worksrcpath}/m4
+}
+
 pre-configure {
-    system "cd ${worksrcpath} && sh autogen.sh"
+    system -W ${worksrcpath} "sh autogen.sh"
 }
 
 # "String.h" vs <string.h> on case-insensitive FS (#21036)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130123/a10a9778/attachment.html>


More information about the macports-changes mailing list