diff options
author | rillig <rillig@pkgsrc.org> | 2007-06-09 11:05:00 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-06-09 11:05:00 +0000 |
commit | 626d94c7e0684fdff53caf078ddc49f7ed56d12e (patch) | |
tree | 9dd444a2e95f8c9391e7918b77e9bfa0a39999fb /devel/pcre-ocaml/patches | |
parent | 4c3c864e51a10a4d837c89720125e926b454df28 (diff) | |
download | pkgsrc-626d94c7e0684fdff53caf078ddc49f7ed56d12e.tar.gz |
Only a few architectures can handle native code. For all the others,
generating byte-code only must suffice.
Patch provided in PR 36049 by Jaap Boender.
Diffstat (limited to 'devel/pcre-ocaml/patches')
-rw-r--r-- | devel/pcre-ocaml/patches/patch-aa | 20 | ||||
-rw-r--r-- | devel/pcre-ocaml/patches/patch-ab | 10 |
2 files changed, 30 insertions, 0 deletions
diff --git a/devel/pcre-ocaml/patches/patch-aa b/devel/pcre-ocaml/patches/patch-aa new file mode 100644 index 00000000000..bf48ec63206 --- /dev/null +++ b/devel/pcre-ocaml/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1 2007/06/09 11:05:00 rillig Exp $ + +--- Makefile.orig 2006-11-22 18:25:59.000000000 +0100 ++++ Makefile 2007-03-21 11:19:18.000000000 +0100 +@@ -2,9 +2,12 @@ + + EXAMPLES = $(filter-out examples/CVS, $(wildcard examples/*)) + +-.PHONY: all +-all: +- @cd lib && $(MAKE) byte-code-library native-code-library ++.PHONY: all byte ++all: byte ++ @cd lib && $(MAKE) native-code-library ++ ++byte: ++ @cd lib && $(MAKE) byte-code-library + + .PHONY: examples + examples: diff --git a/devel/pcre-ocaml/patches/patch-ab b/devel/pcre-ocaml/patches/patch-ab new file mode 100644 index 00000000000..66d33c05327 --- /dev/null +++ b/devel/pcre-ocaml/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1 2007/06/09 11:05:00 rillig Exp $ + +--- lib/Makefile.orig 2007-03-21 11:30:21.000000000 +0100 ++++ lib/Makefile 2007-03-21 11:30:33.000000000 +0100 +@@ -1,4 +1,5 @@ + OCAMLMAKEFILE = ../OCamlMakefile ++OCAMLFIND_INSTFLAGS = -optional + + SOURCES = pcre.mli pcre.ml pcre_stubs.c + CFLAGS = -O2 |