Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2015 19:37:21 +0000 (UTC)
From:      Tim Bishop <tdb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378485 - head/net/pptpclient
Message-ID:  <201502051937.t15JbLgJ004071@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tdb
Date: Thu Feb  5 19:37:20 2015
New Revision: 378485
URL: https://svnweb.freebsd.org/changeset/ports/378485
QAT: https://qat.redports.org/buildarchive/r378485/

Log:
  Avoid running /bin/ip which doesn't exist on FreeBSD.
  
  I get the following error every time I run pptp:
  
  /bin/ip: not found
  /bin/ip: not found
  
  Since /bin/ip doesn't exist on FreeBSD it doesn't make sense to try
  and run it, and pptp appears to function without it (this change
  certainly won't make things any worse). I've done a minimally
  invasive change which just makes it run /usr/bin/true instead.

Modified:
  head/net/pptpclient/Makefile

Modified: head/net/pptpclient/Makefile
==============================================================================
--- head/net/pptpclient/Makefile	Thu Feb  5 18:51:58 2015	(r378484)
+++ head/net/pptpclient/Makefile	Thu Feb  5 19:37:20 2015	(r378485)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pptpclient
 PORTVERSION=	1.8.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/pptp/pptp-${PORTVERSION}
 DISTNAME=	pptp-${PORTVERSION}
@@ -13,7 +14,8 @@ COMMENT=	PPTP client for establishing a 
 LICENSE=	GPLv2 # (or later)
 
 USES=		perl5
-MAKE_ARGS=	CC="${CC}" OPTIMIZE="${CFLAGS}" DEBUG="" PPPD="/usr/sbin/ppp"
+MAKE_ARGS=	CC="${CC}" OPTIMIZE="${CFLAGS}" DEBUG="" \
+		PPPD="/usr/sbin/ppp" IP="/usr/bin/true"
 CFLAGS+=	-DUSER_PPP
 
 PLIST_FILES=	sbin/pptp man/man8/pptp.8.gz



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