kumquat-buildroot/package/ngrep/ngrep-0001-make-objs.patch
Romain Naour c9d2b23ce4 ngrep: rename existing patch
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-11-02 18:32:48 +01:00

24 lines
558 B
Diff

ngrep: don't include regex objects since we're using pcre
Signed-off-by: Wade Berrier <wberrier@gmail.com>
--- ngrep-1.45/Makefile.in.orig 2006-11-28 06:35:37.000000000 -0700
+++ ngrep-1.45/Makefile.in 2011-06-29 14:05:27.000000000 -0600
@@ -32,13 +32,13 @@
INSTALL = ./install-sh
-REGEX_DIR=@REGEX_DIR@
-REGEX_OBJS=@REGEX_OBJS@
+REGEX_DIR=
+REGEX_OBJS=
all: $(TARGET)
-$(TARGET): $(REGEX_OBJS) $(OBJS)
+$(TARGET): $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(STRIPFLAG) -o $(TARGET) $(OBJS) $(REGEX_OBJS) $(LIBS)
debug: $(REGEX_OBJS) $(OBJS)