aboutsummaryrefslogtreecommitdiff
path: root/net/vtun
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-17 12:00:38 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-17 12:00:38 +0000
commit6b591eb1acd1a5756e4adbe281c4b33e335de277 (patch)
treea8bb5c1829417fa1a8811320a6ef2a38124f83c8 /net/vtun
parent5e58a91b952ef3c42fafc8943493d33da3d63f7a (diff)
downloadports-6b591eb1acd1a5756e4adbe281c4b33e335de277.tar.gz
ports-6b591eb1acd1a5756e4adbe281c4b33e335de277.zip
Use BROKEN_SSL
- While I'm here, remove .include <bsd.port.options.mk> Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=462138
Diffstat (limited to 'net/vtun')
-rw-r--r--net/vtun/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/net/vtun/Makefile b/net/vtun/Makefile
index 6871dd47b05e..109a0e30ea01 100644
--- a/net/vtun/Makefile
+++ b/net/vtun/Makefile
@@ -12,6 +12,8 @@ COMMENT= Virtual Tunnels over TCP/IP networks with traffic shaping
LICENSE= GPLv2
+BROKEN_SSL= openssl-devel
+
LIB_DEPENDS= liblzo2.so:archivers/lzo2
CFLAGS+= -ansi -Wno-pointer-sign
@@ -36,8 +38,6 @@ OPTIONS_DEFINE= DOCS
# http://home.jp.FreeBSD.org/~simokawa/vtun-v6.html
# are now dynamically enabled using the -e option.
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} \
-e 's|$$\(SSL_HDR_DIR\)|$$\1 $$\1/openssl|g' \
@@ -54,10 +54,4 @@ post-install:
@cd ${STAGEDIR}${PREFIX}/man/man1/ && \
${LN} -s vtund.8 ../man1/vtun.1
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT:Mopenssl-devel}
-BROKEN= Does not build with openssl-devel
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>