~cypheon/pkgsrc-wip

pkgsrc-wip/haxe/patches/patch-libs_pcre_Makefile -rw-r--r-- 395 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD$

Look for pcre in PREFIX/include.
Done this way because ocamlc wants a space between -I and the argument,
and the libpcre pkg-config file doesn't have the space.

--- libs/pcre/Makefile.orig	2019-10-25 23:09:16.000000000 +0000
+++ libs/pcre/Makefile
@@ -1,4 +1,4 @@
-ALL_CFLAGS = $(CFLAGS) -I pcre
+ALL_CFLAGS = $(CFLAGS) -I @@PREFIX@@/include
 LIBS =
 OCAMLOPT=ocamlopt
 OCAMLC=ocamlc