aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2018-04-02 14:13:31 +0800
committerdinoex <dinoex@FreeBSD.org>2018-04-02 14:13:31 +0800
commitadf9457e322bbb6bab8f1118eb43be63ab416b96 (patch)
treecfbcbfb593c7938bb69b0c94d4f17315de6edd94
parent8a8f1118e4491a0d5dca6cd66e89a06bb7d7f110 (diff)
downloadfreebsd-ports-gnome-adf9457e322bbb6bab8f1118eb43be63ab416b96.tar.gz
freebsd-ports-gnome-adf9457e322bbb6bab8f1118eb43be63ab416b96.tar.zst
freebsd-ports-gnome-adf9457e322bbb6bab8f1118eb43be63ab416b96.zip
- fix content of manpages
PR: 226917
-rw-r--r--security/tinc/Makefile3
-rw-r--r--security/tinc/files/patch-doc-Makefile.am41
2 files changed, 43 insertions, 1 deletions
diff --git a/security/tinc/Makefile b/security/tinc/Makefile
index 7c939f46249c..4291dc62f8bb 100644
--- a/security/tinc/Makefile
+++ b/security/tinc/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tinc
PORTVERSION= 1.0.33
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://www.tinc-vpn.org/packages/ \
http://www.tinc-vpn.org/packages/
@@ -14,7 +15,7 @@ LICENSE= GPLv3
LIB_DEPENDS= liblzo2.so:archivers/lzo2
-USES= cpe ssl makeinfo
+USES= cpe ssl makeinfo autoreconf
CPE_VENDOR= tinc-vpn
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/security/tinc/files/patch-doc-Makefile.am b/security/tinc/files/patch-doc-Makefile.am
new file mode 100644
index 000000000000..b0fc44ba4d27
--- /dev/null
+++ b/security/tinc/files/patch-doc-Makefile.am
@@ -0,0 +1,41 @@
+From 0a95c77f23352aafb08edd85da1c044c02bcb0b7 Mon Sep 17 00:00:00 2001
+From: Guus Sliepen <guus@tinc-vpn.org>
+Date: Sat, 4 Nov 2017 19:52:08 +0100
+Subject: [PATCH] Fix building documentation when using OpenBSD's make.
+
+---
+ doc/Makefile.am | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index fed46b7..60afb12 100644
+--- doc/Makefile.am
++++ doc/Makefile.am
+@@ -6,7 +6,7 @@ man_MANS = tincd.8 tinc.conf.5
+
+ EXTRA_DIST = tincinclude.texi.in tincd.8.in tinc.conf.5.in sample-config
+
+-CLEANFILES = *.html tincd.8 tinc.conf.5 tincinclude.texi
++CLEANFILES = *.html tincd.8 tinc.conf.5 tincinclude.texi tinc.info
+
+ texi2html: tinc.texi
+ $(AM_V_GEN)texi2html -split=chapter $<
+@@ -25,12 +25,12 @@ substitute = sed \
+ -e s,'@localstatedir\@',"$(localstatedir)",g
+
+ tincd.8: $(srcdir)/tincd.8.in
+- $(AM_V_GEN)$(substitute) $< > $@
++ $(AM_V_GEN)$(substitute) $(srcdir)/tincd.8.in > $@
+
+ tinc.conf.5: $(srcdir)/tinc.conf.5.in
+- $(AM_V_GEN)$(substitute) $< > $@
++ $(AM_V_GEN)$(substitute) $(srcdir)/tinc.conf.5.in > $@
+
+ tincinclude.texi: $(srcdir)/tincinclude.texi.in
+- $(AM_V_GEN)$(substitute) $< > $@
++ $(AM_V_GEN)$(substitute) $(srcdir)/tincinclude.texi.in > $@
+
+ tinc.texi: tincinclude.texi
+--
+2.16.2
+