[94147] trunk/dports/devel/ocaml-curses
mww at macports.org
mww at macports.org
Sun Jun 10 04:33:57 PDT 2012
Revision: 94147
https://trac.macports.org/changeset/94147
Author: mww at macports.org
Date: 2012-06-10 04:33:55 -0700 (Sun, 10 Jun 2012)
Log Message:
-----------
ocaml-curses: silence CC warnings by including header file
Modified Paths:
--------------
trunk/dports/devel/ocaml-curses/Portfile
Added Paths:
-----------
trunk/dports/devel/ocaml-curses/files/config.h
Modified: trunk/dports/devel/ocaml-curses/Portfile
===================================================================
--- trunk/dports/devel/ocaml-curses/Portfile 2012-06-10 11:19:55 UTC (rev 94146)
+++ trunk/dports/devel/ocaml-curses/Portfile 2012-06-10 11:33:55 UTC (rev 94147)
@@ -19,7 +19,7 @@
depends_lib port:ocaml port:ocaml-findlib port:ncurses
configure {
- touch ${worksrcpath}/config.h
+ file copy ${filespath}/config.h ${worksrcpath}
file copy ${filespath}/config.ml ${worksrcpath}
file copy ${filespath}/Makefile ${worksrcpath}
reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/Makefile
Added: trunk/dports/devel/ocaml-curses/files/config.h
===================================================================
--- trunk/dports/devel/ocaml-curses/files/config.h (rev 0)
+++ trunk/dports/devel/ocaml-curses/files/config.h 2012-06-10 11:33:55 UTC (rev 94147)
@@ -0,0 +1,2 @@
+#include <sys/ioctl.h>
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120610/45b903e7/attachment.html>
More information about the macports-changes
mailing list