svn commit: r378485 - head/net/pptpclient
Tim Bishop
tdb at FreeBSD.org
Thu Feb 5 19:37:21 UTC 2015
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
More information about the svn-ports-all
mailing list