aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-pcre
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2009-03-09 18:07:28 +0000
committerJohan van Selst <johans@FreeBSD.org>2009-03-09 18:07:28 +0000
commit4541f56212005e59976f8784ce7dfc2ac740b69b (patch)
tree4a1d3db0ffe64b5c7124f20bc0610df154a964db /devel/ocaml-pcre
parent9ec3f9e8e871cec1296ceb7f7cfcf6261bf8370d (diff)
downloadports-4541f56212005e59976f8784ce7dfc2ac740b69b.tar.gz
ports-4541f56212005e59976f8784ce7dfc2ac740b69b.zip
Notes
Diffstat (limited to 'devel/ocaml-pcre')
-rw-r--r--devel/ocaml-pcre/Makefile2
-rw-r--r--devel/ocaml-pcre/distinfo6
-rw-r--r--devel/ocaml-pcre/files/patch-lib_Makefile17
3 files changed, 13 insertions, 12 deletions
diff --git a/devel/ocaml-pcre/Makefile b/devel/ocaml-pcre/Makefile
index 7e9e1e03d889..d174b3a4fbd3 100644
--- a/devel/ocaml-pcre/Makefile
+++ b/devel/ocaml-pcre/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pcre
-PORTVERSION= 5.15.1
+PORTVERSION= 5.16.4
CATEGORIES= devel
MASTER_SITES= http://www.ocaml.info/ocaml_sources/
PKGNAMEPREFIX= ocaml-
diff --git a/devel/ocaml-pcre/distinfo b/devel/ocaml-pcre/distinfo
index 86bac852d8b0..9c64202002f8 100644
--- a/devel/ocaml-pcre/distinfo
+++ b/devel/ocaml-pcre/distinfo
@@ -1,3 +1,3 @@
-MD5 (pcre-ocaml-5.15.1.tar.gz) = f12f264a755670cd8a95b688f92a7854
-SHA256 (pcre-ocaml-5.15.1.tar.gz) = c8d92ffd31ade13a6bf108710c07d86c2d14e548e53da7af8cae257957173379
-SIZE (pcre-ocaml-5.15.1.tar.gz) = 58515
+MD5 (pcre-ocaml-5.16.4.tar.gz) = 9d0cf579a319c035668db8f533b2a04f
+SHA256 (pcre-ocaml-5.16.4.tar.gz) = 8e24fcdd6ffcb1ee17297a004f12d1ec8e05a27f20e51ac2c8bcb34cd28a4f53
+SIZE (pcre-ocaml-5.16.4.tar.gz) = 59339
diff --git a/devel/ocaml-pcre/files/patch-lib_Makefile b/devel/ocaml-pcre/files/patch-lib_Makefile
index 23dce841ce20..d9c1b6c3e86c 100644
--- a/devel/ocaml-pcre/files/patch-lib_Makefile
+++ b/devel/ocaml-pcre/files/patch-lib_Makefile
@@ -1,10 +1,11 @@
---- lib/Makefile.orig Sat Dec 9 20:39:45 2006
-+++ lib/Makefile Sat Dec 9 20:39:49 2006
-@@ -1,7 +1,6 @@
+--- lib/Makefile.orig 2009-03-09 09:14:29.000000000 +0100
++++ lib/Makefile 2009-03-09 09:14:35.000000000 +0100
+@@ -1,7 +1,7 @@
OCAMLMAKEFILE = ../OCamlMakefile
- SOURCES = pcre.mli pcre.ml pcre_stubs.c
--CFLAGS = -O2
- CLIBS = pcre
- RESULT = pcre
-
+ SOURCES := pcre.mli pcre.ml pcre_stubs.c
+-CFLAGS := -O2 $(shell pcre-config --cflags)
++CFLAGS += $(shell pcre-config --cflags)
+ PCRE_FLAGS := $(shell pcre-config --libs)
+ OCAMLLDFLAGS := -cclib "$(PCRE_FLAGS)"
+ OCAMLMKLIB_FLAGS := $(PCRE_FLAGS)