diff options
author | bsam <bsam@FreeBSD.org> | 2013-08-29 15:33:57 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-08-29 15:33:57 +0800 |
commit | cf2a0961c00bb072d2435f7d2511e7aed772df91 (patch) | |
tree | df785dfc5194c500f275290e8b91b02d82bdef90 /net | |
parent | a40fab69749941156cc96fac78080ffa59a0621b (diff) | |
download | freebsd-ports-gnome-cf2a0961c00bb072d2435f7d2511e7aed772df91.tar.gz freebsd-ports-gnome-cf2a0961c00bb072d2435f7d2511e7aed772df91.tar.zst freebsd-ports-gnome-cf2a0961c00bb072d2435f7d2511e7aed772df91.zip |
Use MAKE_ARGS (CC="${CC}") instead of a patch.
Reported by: bapt
Diffstat (limited to 'net')
-rw-r--r-- | net/pptpclient/Makefile | 2 | ||||
-rw-r--r-- | net/pptpclient/files/patch-aa | 11 |
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 = |