aboutsummaryrefslogtreecommitdiff
path: root/recipes-extra/onig/files/do-not-use-system-headers.patch
blob: a9606cc65f47818dce783a7cc51df72e2475dd2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
 Makefile.am        |    2 +-
 sample/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- onig-5.9.3.orig/Makefile.am
+++ onig-5.9.3/Makefile.am
@@ -4,11 +4,11 @@ sampledir = $(top_srcdir)/sample
 libname = libonig.la
 
 ACLOCAL_AMFLAGS = -I m4
 #AM_CFLAGS = -DNOT_RUBY
 AM_CFLAGS =
-INCLUDES  = -I$(top_srcdir) -I$(includedir)
+INCLUDES  = -I$(top_srcdir)
 
 SUBDIRS = . sample
 
 include_HEADERS = oniguruma.h oniggnu.h onigposix.h
 lib_LTLIBRARIES = $(libname)
--- onig-5.9.3.orig/sample/Makefile.am
+++ onig-5.9.3/sample/Makefile.am
@@ -1,10 +1,10 @@
 noinst_PROGRAMS = encode listcap names posix simple sql syntax crnl
 
 libname = $(top_builddir)/libonig.la
 LDADD   = $(libname)
-INCLUDES  = -I$(top_srcdir) -I$(includedir)
+INCLUDES  = -I$(top_srcdir)
 
 encode_SOURCES  = encode.c
 listcap_SOURCES = listcap.c
 names_SOURCES   = names.c
 posix_SOURCES   = posix.c