summaryrefslogtreecommitdiff
path: root/net/pptpclient/files/patch-aa
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-08-28 14:25:14 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-08-28 14:25:14 +0000
commit80f0b2a755547eca123035cf852b847d905b6e66 (patch)
tree481a2883fd6f22bc5d9b2abc7430153491ef11af /net/pptpclient/files/patch-aa
parent- Update to 2.20 (diff)
. fix build with clang (CC=gcc -> CC?=gcc);
. add LICENSE (GPLv2); . bump PORTREVISIONr; . group build statements; . mute mkdir.
Notes
Notes: svn path=/head/; revision=325536
Diffstat (limited to 'net/pptpclient/files/patch-aa')
-rw-r--r--net/pptpclient/files/patch-aa17
1 files changed, 11 insertions, 6 deletions
diff --git a/net/pptpclient/files/patch-aa b/net/pptpclient/files/patch-aa
index 32fd59f74808..c993c6d254b2 100644
--- a/net/pptpclient/files/patch-aa
+++ b/net/pptpclient/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Thu Feb 17 23:42:45 2005
-+++ Makefile Wed Sep 28 19:51:25 2005
-@@ -4,7 +4,7 @@
+--- Makefile.orig 2008-05-14 11:33:55.000000000 +0500
++++ Makefile 2013-08-28 17:26:16.106297003 +0400
+@@ -4,19 +4,19 @@ RELEASE=
#################################################################
# CHANGE THIS LINE to point to the location of your pppd binary.
@@ -9,12 +9,17 @@
#################################################################
BINDIR=$(DESTDIR)/usr/sbin
-@@ -16,7 +16,7 @@
+ MANDIR=$(DESTDIR)/usr/share/man/man8
+ PPPDIR=$(DESTDIR)/etc/ppp
+
+-CC = gcc
++CC ?= gcc
+ RM = rm -f
OPTIMIZE= -O0
DEBUG = -g
INCLUDE =
-CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
+CFLAGS += -Wall $(DEBUG) $(INCLUDE) -DUSER_PPP
LIBS = -lutil
- LDFLAGS =
-
+ # Solaris 10
+ # LIBS = -lnsl -lsocket -lresolv