From cf2a0961c00bb072d2435f7d2511e7aed772df91 Mon Sep 17 00:00:00 2001 From: bsam Date: Thu, 29 Aug 2013 07:33:57 +0000 Subject: Use MAKE_ARGS (CC="${CC}") instead of a patch. Reported by: bapt --- net/pptpclient/Makefile | 2 +- net/pptpclient/files/patch-aa | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'net') 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 = -- cgit