pkgsrc/devel/pcre-ocaml/patches/patch-aa
rillig 626d94c7e0 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.
2007-06-09 11:05:00 +00:00

20 lines
472 B
Text

$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: