aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/pptpclient/Makefile2
-rw-r--r--net/pptpclient/files/patch-aa11
2 files changed, 4 insertions, 9 deletions
diff --git a/net/pptpclient/Makefile b/net/pptpclient/Makefile
index 728835d02bfc..3e3d68fc8480 100644
--- a/net/pptpclient/Makefile
+++ b/net/pptpclient/Makefile
@@ -14,7 +14,7 @@ COMMENT= PPTP client for establishing a VPN link with an NT server
LICENSE= GPLv2
USES= perl5
-MAKE_ARGS= DEBUG=""
+MAKE_ARGS= DEBUG="" CC="${CC}"
MAN8= pptp.8
diff --git a/net/pptpclient/files/patch-aa b/net/pptpclient/files/patch-aa
index c993c6d254b2..a467e34fe3e9 100644
--- a/net/pptpclient/files/patch-aa
+++ b/net/pptpclient/files/patch-aa
@@ -1,6 +1,6 @@
--- Makefile.orig 2008-05-14 11:33:55.000000000 +0500
-+++ Makefile 2013-08-28 17:26:16.106297003 +0400
-@@ -4,19 +4,19 @@ RELEASE=
++++ Makefile 2013-08-29 11:28:02.675336240 +0400
+@@ -4,7 +4,7 @@ RELEASE=
#################################################################
# CHANGE THIS LINE to point to the location of your pppd binary.
@@ -9,12 +9,7 @@
#################################################################
BINDIR=$(DESTDIR)/usr/sbin
- MANDIR=$(DESTDIR)/usr/share/man/man8
- PPPDIR=$(DESTDIR)/etc/ppp
-
--CC = gcc
-+CC ?= gcc
- RM = rm -f
+@@ -16,7 +16,7 @@ RM = rm -f
OPTIMIZE= -O0
DEBUG = -g
INCLUDE =