From 151ad3e39835a2a6cca78f3181d23fe2226be60e Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 17 May 2006 01:37:51 +0000 Subject: add gcom to trunk too (closes: #333). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3792 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/gcom/patches/001-Makefile.patch | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 openwrt/package/gcom/patches/001-Makefile.patch (limited to 'openwrt/package/gcom/patches/001-Makefile.patch') diff --git a/openwrt/package/gcom/patches/001-Makefile.patch b/openwrt/package/gcom/patches/001-Makefile.patch new file mode 100644 index 000000000..28ea2ecf2 --- /dev/null +++ b/openwrt/package/gcom/patches/001-Makefile.patch @@ -0,0 +1,32 @@ +--- gcom-0.3.x/Makefile 2006-01-04 17:05:28.000000000 +0200 ++++ gcom-0.3/Makefile 2006-02-26 13:02:07.000000000 +0200 +@@ -20,8 +20,6 @@ + # + # $Id$ + # +-LIB = -L/usr/local/lib +-INC = -I/usr/local/include + EXE = /usr/local/bin + MAN = /usr/share/man/man1 + CPROG = gcom +@@ -29,9 +27,6 @@ + BIN = $(CPROG) $(SCRIPT) + MANP = gcom.1 sigmon.1 + +-CFLAGS = -c +-LDFLAGS = +- + all: $(BIN) + + install: +@@ -53,8 +48,8 @@ + + + gcom: gcom.o +- cc gcom.o $(LDFLAGS) -o gcom ++ $(CC) gcom.o $(LDFLAGS) -o gcom + + gcom.o: gcom.c gcom.h +- cc gcom.c $(CFLAGS) ++ $(CC) -c $(CFLAGS) gcom.c + -- cgit v1.2.3