summaryrefslogtreecommitdiff
path: root/package/pptp/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-06 09:53:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-06 09:53:25 +0100
commit2288ec26df8e47d9b699e46eecd05eb3570f03a0 (patch)
tree1d204b70e027fd737f6aae1b7308ae959f5bd0b9 /package/pptp/patches/patch-Makefile
parent45e7808c41c2e66266f738aa5eff70ce18cc04ac (diff)
parent667bc9e981847a1d117a2fc7110948075a268bdd (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pptp/patches/patch-Makefile')
-rw-r--r--package/pptp/patches/patch-Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/package/pptp/patches/patch-Makefile b/package/pptp/patches/patch-Makefile
index 1b7ad4a3d..f96b980fe 100644
--- a/package/pptp/patches/patch-Makefile
+++ b/package/pptp/patches/patch-Makefile
@@ -1,22 +1,18 @@
---- pptp-1.6.0.orig/Makefile 2005-02-18 02:42:45.000000000 +0100
-+++ pptp-1.6.0/Makefile 2011-01-16 21:44:38.000000000 +0100
-@@ -11,14 +11,15 @@ BINDIR=$(DESTDIR)/usr/sbin
+--- pptp-1.8.0.orig/Makefile 2013-10-23 10:10:46.000000000 +0200
++++ pptp-1.8.0/Makefile 2013-12-22 11:35:12.000000000 +0100
+@@ -14,12 +14,13 @@ BINDIR=$(DESTDIR)/usr/sbin
MANDIR=$(DESTDIR)/usr/share/man/man8
PPPDIR=$(DESTDIR)/etc/ppp
-CC = gcc
+CC ?= gcc
RM = rm -f
- OPTIMIZE= -O0
+ OPTIMIZE= -O -Wuninitialized
DEBUG = -g
INCLUDE =
-CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
--LIBS = -lutil
--LDFLAGS =
-+CPPFLAGS ?=
-+CFLAGS ?= -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
-+LIBS ?= -lutil
-+LDFLAGS ?=
-
- PPTP_BIN = pptp
-
++CFLAGS ?=
++CFLAGS += -Wall $(INCLUDE)
+ # Solaris
+ # CFLAGS += -D_XPG4_2 -D__EXTENSIONS__
+ LIBS = -lutil