summaryrefslogtreecommitdiff
path: root/package/picocom/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/picocom/patches/patch-Makefile')
-rw-r--r--package/picocom/patches/patch-Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/package/picocom/patches/patch-Makefile b/package/picocom/patches/patch-Makefile
index 621e7c211..6c08b9d12 100644
--- a/package/picocom/patches/patch-Makefile
+++ b/package/picocom/patches/patch-Makefile
@@ -1,13 +1,15 @@
---- picocom-1.4.orig/Makefile 2004-08-13 13:18:38.000000000 +0200
-+++ picocom-1.4/Makefile 2011-01-21 21:02:02.096749132 +0100
-@@ -2,11 +2,12 @@
- VERSION=1.4
+--- picocom-1.7.orig/Makefile 2012-02-21 06:42:24.000000000 +0100
++++ picocom-1.7/Makefile 2013-12-26 09:43:38.000000000 +0100
+@@ -4,13 +4,14 @@ VERSION=1.7
+ UUCP_LOCK_DIR=/var/lock
# CC = gcc
--CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
--CFLAGS = -Wall -g
+-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" \
+CPPFLAGS ?=
-+CPPFLAGS += -DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
++CPPFLAGS+=-DVERSION_STR=\"$(VERSION)\" \
+ -DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\" \
+ -DHIGH_BAUD
+-CFLAGS = -Wall -g
+CFLAGS ?= -Wall -g
# LD = gcc