summaryrefslogtreecommitdiff
path: root/lang/caml-light
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2003-08-02 15:33:39 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2003-08-02 15:33:39 +0000
commit1386de3055bb0df55a9993067eef25a956751919 (patch)
treef3ed596658d0ade69f05c3b5549fef094f5a110d /lang/caml-light
parent(1) Fix HTML generation of tac.cgi. (diff)
Unbreak for 5.x.
Notes
Notes: svn path=/head/; revision=86192
Diffstat (limited to 'lang/caml-light')
-rw-r--r--lang/caml-light/Makefile4
-rw-r--r--lang/caml-light/files/patch-ag11
2 files changed, 11 insertions, 4 deletions
diff --git a/lang/caml-light/Makefile b/lang/caml-light/Makefile
index 7a9a137bc2a7..1a8403ac5a38 100644
--- a/lang/caml-light/Makefile
+++ b/lang/caml-light/Makefile
@@ -25,10 +25,6 @@ MAN1= camlc.1 camllex.1 camllibr.1 camllight.1 camlmktop.1 camlrun.1 camlyacc.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
-
do-build:
cd ${WRKSRC}/src; ${MAKE} ${ALL_TARGET} PREFIX=${PREFIX} \
X11BASE=${X11BASE}
diff --git a/lang/caml-light/files/patch-ag b/lang/caml-light/files/patch-ag
new file mode 100644
index 000000000000..47642f20b048
--- /dev/null
+++ b/lang/caml-light/files/patch-ag
@@ -0,0 +1,11 @@
+--- src/runtime/io.h-- Thu Jan 12 09:59:39 1995
++++ src/runtime/io.h Sat Aug 2 20:57:13 2003
+@@ -7,6 +7,8 @@
+ #include "misc.h"
+ #include "mlvalues.h"
+
++#include <unistd.h>
++
+ #ifndef IO_BUFFER_SIZE
+ #define IO_BUFFER_SIZE 4096
+ #endif