summaryrefslogtreecommitdiff
path: root/package/ngrep/patches/patch-regex-0_12_Makefile_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/ngrep/patches/patch-regex-0_12_Makefile_in')
-rw-r--r--package/ngrep/patches/patch-regex-0_12_Makefile_in19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/ngrep/patches/patch-regex-0_12_Makefile_in b/package/ngrep/patches/patch-regex-0_12_Makefile_in
new file mode 100644
index 0000000..c087351
--- /dev/null
+++ b/package/ngrep/patches/patch-regex-0_12_Makefile_in
@@ -0,0 +1,19 @@
+--- ngrep-1.45.orig/regex-0.12/Makefile.in 2006-11-15 02:34:43.000000000 +0100
++++ ngrep-1.45/regex-0.12/Makefile.in 2016-02-08 06:28:44.000000000 +0100
+@@ -26,13 +26,13 @@ version = 0.12
+ # -DEXTRACT_MACROS to use the macros EXTRACT_* (as opposed to
+ # the corresponding C procedures). If not -DDEBUG, the macros
+ # are used.
+-CPPFLAGS =
++CPPFLAGS ?=
+
+ # Likewise, you can override CFLAGS to optimize, use -Wall, etc.
+-CFLAGS = -g
++CFLAGS ?= -g
+
+ # Ditto for LDFLAGS and LOADLIBES.
+-LDFLAGS =
++LDFLAGS ?=
+ LOADLIBES =
+
+ srcdir = @srcdir@