Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2013 14:25:15 +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: r325536 - in head/net/pptpclient: . files
Message-ID:  <201308281425.r7SEPFJl061244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Wed Aug 28 14:25:14 2013
New Revision: 325536
URL: http://svnweb.freebsd.org/changeset/ports/325536

Log:
  . fix build with clang (CC=gcc -> CC?=gcc);
  . add LICENSE (GPLv2);
  . bump PORTREVISIONr;
  . group build statements;
  . mute mkdir.

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

Modified: head/net/pptpclient/Makefile
==============================================================================
--- head/net/pptpclient/Makefile	Wed Aug 28 14:12:35 2013	(r325535)
+++ head/net/pptpclient/Makefile	Wed Aug 28 14:25:14 2013	(r325536)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pptpclient
 PORTVERSION=	1.7.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/pptp/pptp-${PORTVERSION}
 DISTNAME=	pptp-${PORTVERSION}
@@ -11,15 +11,16 @@ DISTNAME=	pptp-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	PPTP client for establishing a VPN link with an NT server
 
+LICENSE=	GPLv2
+
 USES=		perl5
+MAKE_ARGS=	DEBUG=""
 
 MAN8=		pptp.8
 
-MAKE_ARGS=	DEBUG=""
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pptp ${PREFIX}/sbin
-	${MKDIR} ${PREFIX}/share/examples/pptpclient
+	@${MKDIR} ${PREFIX}/share/examples/pptpclient
 	${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/pptpclient
 	${INSTALL_DATA} ${FILESDIR}/ppp.conf ${PREFIX}/share/examples/pptpclient
 	${INSTALL_MAN} ${WRKSRC}/pptp.8 ${PREFIX}/man/man8

Modified: head/net/pptpclient/files/patch-aa
==============================================================================
--- head/net/pptpclient/files/patch-aa	Wed Aug 28 14:12:35 2013	(r325535)
+++ head/net/pptpclient/files/patch-aa	Wed Aug 28 14:25:14 2013	(r325536)
@@ -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



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