diff options
author | tdb <tdb@FreeBSD.org> | 2015-02-06 03:37:20 +0800 |
---|---|---|
committer | tdb <tdb@FreeBSD.org> | 2015-02-06 03:37:20 +0800 |
commit | 721dc99fd3841505306d52c964bf88b5b720c649 (patch) | |
tree | de74b0f191d7c19ef98741a27588e605e0c939e3 | |
parent | 9c8d14e27624ed67b2a11cd654ce415eebcdb78c (diff) | |
download | freebsd-ports-gnome-721dc99fd3841505306d52c964bf88b5b720c649.tar.gz freebsd-ports-gnome-721dc99fd3841505306d52c964bf88b5b720c649.tar.zst freebsd-ports-gnome-721dc99fd3841505306d52c964bf88b5b720c649.zip |
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.
-rw-r--r-- | net/pptpclient/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/pptpclient/Makefile b/net/pptpclient/Makefile index 2a0cd1a5d3cf..6735b2c27213 100644 --- a/net/pptpclient/Makefile +++ b/net/pptpclient/Makefile @@ -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 VPN link with an NT server 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 |