- Build with USER_PPP

- Bump PKGNAME

From Okan Demirmen <okan@demirmen.com>

ok Waldemar Brodkorb <wbx@openbsd.de> (MAINTAINER)
This commit is contained in:
alek 2005-10-01 07:40:33 +00:00
parent 4bd05ffdc9
commit 35df21d051
2 changed files with 17 additions and 5 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.10 2005/03/24 00:57:58 naddy Exp $
# $OpenBSD: Makefile,v 1.11 2005/10/01 07:40:33 alek Exp $
# $NetBSD: Makefile,v 1.1.1.1 2000/04/10 01:14:01 jtk Exp $
COMMENT= 'PPTP client package for Microsoft VPN servers'
DISTNAME= pptp-1.6.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
@ -20,6 +21,9 @@ WANTLIB= c util
NO_REGRESS= Yes
MAKE_ENV+= PPPD=/usr/sbin/ppp
CFLAGS+= -DUSER_PPP
DIRS= Documentation Reference
post-patch:

View File

@ -1,7 +1,15 @@
$OpenBSD: patch-Makefile,v 1.4 2005/03/24 00:57:58 naddy Exp $
--- Makefile.orig Sat Mar 5 16:17:49 2005
+++ Makefile Sat Mar 5 16:18:02 2005
@@ -11,12 +11,12 @@ BINDIR=$(DESTDIR)/usr/sbin
$OpenBSD: patch-Makefile,v 1.5 2005/10/01 07:40:33 alek Exp $
--- Makefile.orig Thu Feb 17 20:42:23 2005
+++ Makefile Thu Sep 29 09:54:57 2005
@@ -4,19 +4,19 @@ RELEASE=
#################################################################
# CHANGE THIS LINE to point to the location of your pppd binary.
-PPPD = /usr/sbin/pppd
+PPPD?= /usr/sbin/pppd
#################################################################
BINDIR=$(DESTDIR)/usr/sbin
MANDIR=$(DESTDIR)/usr/share/man/man8
PPPDIR=$(DESTDIR)/etc/ppp