summaryrefslogtreecommitdiffstats
path: root/net/poptop/Makefile
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-06-25 01:04:56 +0000
committernaddy <naddy@FreeBSD.org>2003-06-25 01:04:56 +0000
commited41d91baa629aa7256fd8c8432682f77e9065ee (patch)
tree9a0c86fe4a00b831e503b0635db3f91d3e9c3a22 /net/poptop/Makefile
parentccc1fda87b6f785a033fcd917143ec4a26ca7a59 (diff)
downloadFreeBSD-ports-ed41d91baa629aa7256fd8c8432682f77e9065ee.zip
FreeBSD-ports-ed41d91baa629aa7256fd8c8432682f77e9065ee.tar.gz
* Fix autotools chaos.
* Add option for kernel ppp support. Adapted from PR: 53544 Submitted by: Sergey Akifyev <asa@gascom.ru>
Diffstat (limited to 'net/poptop/Makefile')
-rw-r--r--net/poptop/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/poptop/Makefile b/net/poptop/Makefile
index 7a3f025..f497eb2 100644
--- a/net/poptop/Makefile
+++ b/net/poptop/Makefile
@@ -13,17 +13,22 @@ MASTER_SITE_SUBDIR= poptop
DISTNAME= pptpd-${PORTVERSION:S/.b/-b/}
MAINTAINER= ports@FreeBSD.org
-COMMENT= Windows 9x compatible PPTP (VPN) server
+COMMENT= Windows 9x compatible PPTP (VPN) server
GNU_CONFIGURE= yes
+.ifdef(POPTOP_KERNPPP)
+CONFIGURE_ARGS=
+.else
CONFIGURE_ARGS= --with-bsdppp
+.endif
WRKSRC= ${WRKDIR}/${PORTNAME}-1.1.4
MAN5= pptpd.conf.5
MAN8= pptpd.8 pptpctrl.8
+# fix broken timestamps that trigger autotools hell
pre-patch:
- ${CP} ${WRKSRC}/our_getopt.h ${WRKSRC}/getopt.h
+ @cd ${WRKSRC}; touch aclocal.m4 Makefile.in stamp-h.in
post-install:
${INSTALL_DATA} ${WRKSRC}/samples/pptpd.conf \
OpenPOWER on IntegriCloud