On Fri 2005.09.30 at 11:47 +0200, Aleksander Piotrowski wrote: > Okan Demirmen <[EMAIL PROTECTED]> wrote: > > > would user_ppp be acceptable as a FLAVOR to pptp? > > Why as a FLAVOR and not enabled by default?
that works well too ;) Index: Makefile =================================================================== RCS file: /cvs/ports/net/pptp/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 24 Mar 2005 00:57:58 -0000 1.10 +++ Makefile 30 Sep 2005 13:05:40 -0000 @@ -4,6 +4,7 @@ COMMENT= 'PPTP client package for Microsoft VPN servers' DISTNAME= pptp-1.6.0 +PKGNAME= ${DISTNAME}p0 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pptpclient/} @@ -19,6 +20,9 @@ WANTLIB= c util NO_REGRESS= Yes + +MAKE_ENV+= PPPD=/usr/sbin/ppp +CFLAGS+=-DUSER_PPP DIRS= Documentation Reference Index: patches/patch-Makefile =================================================================== RCS file: /cvs/ports/net/pptp/patches/patch-Makefile,v retrieving revision 1.4 diff -u -r1.4 patch-Makefile --- patches/patch-Makefile 24 Mar 2005 00:57:58 -0000 1.4 +++ patches/patch-Makefile 30 Sep 2005 13:05:40 -0000 @@ -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 +--- 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