From 735af61eac60d0b3d9da388802973bf5910bb3ca Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 15 Aug 2004 00:08:58 +0000 Subject: Honor CPPFLAGS to make this package build on Interix. --- editors/zile/patches/patch-ab | 13 +++++++++++++ editors/zile/patches/patch-ac | 22 ++++++++++++++++++++++ editors/zile/patches/patch-ad | 13 +++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 editors/zile/patches/patch-ab create mode 100644 editors/zile/patches/patch-ac create mode 100644 editors/zile/patches/patch-ad (limited to 'editors/zile/patches') diff --git a/editors/zile/patches/patch-ab b/editors/zile/patches/patch-ab new file mode 100644 index 00000000000..eb4292551e2 --- /dev/null +++ b/editors/zile/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2004/08/15 00:08:58 minskim Exp $ + +--- src/Makefile.in.orig Sat Aug 14 18:53:10 2004 ++++ src/Makefile.in +@@ -77,7 +77,7 @@ OBJS = basic.o \ + window.o + + .c.o: +- $(CC) -c -I. -I$(srcdir) $(CFLAGS) $< ++ $(CC) -c -I. -I$(srcdir) @CPPFLAGS@ $(CFLAGS) $< + + all: paths.h maketerminals $(PROG) zile.1 + diff --git a/editors/zile/patches/patch-ac b/editors/zile/patches/patch-ac new file mode 100644 index 00000000000..50292592df5 --- /dev/null +++ b/editors/zile/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2004/08/15 00:08:58 minskim Exp $ + +--- etc/Makefile.in.orig Thu Apr 24 10:11:17 2003 ++++ etc/Makefile.in +@@ -13,7 +13,7 @@ INSTALL_DATA = @INSTALL_DATA@ + INSTALL = @INSTALL@ + + CC = @CC@ +-CFLAGS = -I.. -I../lib -I../src @CFLAGS@ ++CFLAGS += -I.. -I../lib -I../src @CFLAGS@ + LDFLAGS = @LDFLAGS@ + ZILELIBS = ../lib/libzile.a + LIBS = $(ZILELIBS) @LIBS@ +@@ -27,7 +27,7 @@ AUTODOCSRCS = $(srcdir)/../src/*.c + .SUFFIXES: + .SUFFIXES: .c .o + .c.o: +- $(CC) -c -I. -I$(srcdir)/../src $(CFLAGS) $< ++ $(CC) -c -I. -I$(srcdir)/../src @CPPFLAGS@ $(CFLAGS) $< + + all: $(FILES) + diff --git a/editors/zile/patches/patch-ad b/editors/zile/patches/patch-ad new file mode 100644 index 00000000000..e7e7074699e --- /dev/null +++ b/editors/zile/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2004/08/15 00:08:58 minskim Exp $ + +--- lib/Makefile.in.orig Thu Apr 24 10:11:58 2003 ++++ lib/Makefile.in +@@ -13,7 +13,7 @@ LIB = libzile.a + OBJS = alist.o astr.o htable.o @LIBOBJS@ + + .c.o: +- $(CC) -c -I. -I$(srcdir) $(CFLAGS) $< ++ $(CC) -c -I. -I$(srcdir) @CPPFLAGS@ $(CFLAGS) $< + + all: $(LIB) + -- cgit v1.2.3