Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 07:33:58 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325569 - in head/net/pptpclient: . files
Message-ID:  <201308290733.r7T7XwDB041708@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Thu Aug 29 07:33:57 2013
New Revision: 325569
URL: http://svnweb.freebsd.org/changeset/ports/325569

Log:
  Use MAKE_ARGS (CC="${CC}") instead of a patch.
  
  Reported by:	bapt

Modified:
  head/net/pptpclient/Makefile
  head/net/pptpclient/files/patch-aa

Modified: head/net/pptpclient/Makefile
==============================================================================
--- head/net/pptpclient/Makefile	Thu Aug 29 07:30:12 2013	(r325568)
+++ head/net/pptpclient/Makefile	Thu Aug 29 07:33:57 2013	(r325569)
@@ -14,7 +14,7 @@ COMMENT=	PPTP client for establishing a 
 LICENSE=	GPLv2
 
 USES=		perl5
-MAKE_ARGS=	DEBUG=""
+MAKE_ARGS=	DEBUG="" CC="${CC}"
 
 MAN8=		pptp.8
 

Modified: head/net/pptpclient/files/patch-aa
==============================================================================
--- head/net/pptpclient/files/patch-aa	Thu Aug 29 07:30:12 2013	(r325568)
+++ head/net/pptpclient/files/patch-aa	Thu Aug 29 07:33:57 2013	(r325569)
@@ -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 =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308290733.r7T7XwDB041708>