kumquat-buildroot/package/vpnc/0002-Don-t-build-manpages.patch

32 lines
809 B
Diff
Raw Normal View History

From 6bbd03ec8928fd2a3056fc55ee48900fc88d3061 Mon Sep 17 00:00:00 2001
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
Date: Mon, 8 Feb 2016 23:03:48 +0100
Subject: [PATCH] Don't build manpages
Patch originally from Ulf Samuelsson <ulf.samuelsson@atmel.com>.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1ca6459..857bf8d 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,10 @@ vpnc : $(OBJS) vpnc.o
$(CC) -o $@ $^ $(LDFLAGS)
vpnc.8 : vpnc.8.template makeman.pl vpnc
- ./makeman.pl
+ @echo "Cannot make manual when cross compiling"
+ touch $@
+
+# ./makeman.pl
vpnc-script : vpnc-script.in
sed -e 's,@''PREFIX''@,$(PREFIX),g' $< > $@ && chmod 755 $@
--
2.6.4