From patchwork Thu Sep 4 11:18:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 385808 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 7FCF41401F6 for ; Thu, 4 Sep 2014 21:19:03 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B82DD8BC68; Thu, 4 Sep 2014 11:19:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0yT-7wVJK10H; Thu, 4 Sep 2014 11:19:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E743D8BD8C; Thu, 4 Sep 2014 11:18:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BFAFF1CE5F0 for ; Thu, 4 Sep 2014 11:18:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B1A9D8620E for ; Thu, 4 Sep 2014 11:18:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0s0HmZTpLHf1 for ; Thu, 4 Sep 2014 11:18:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by whitealder.osuosl.org (Postfix) with ESMTP id BF440863E9 for ; Thu, 4 Sep 2014 11:18:55 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 9FCD49CDC164B for ; Thu, 4 Sep 2014 12:18:51 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 4 Sep 2014 12:18:53 +0100 Received: from localhost.localdomain (192.168.154.104) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 4 Sep 2014 12:18:52 +0100 From: Vicente Olivert Riera To: Date: Thu, 4 Sep 2014 12:18:46 +0100 Message-ID: <1409829526-49853-2-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1409829526-49853-1-git-send-email-Vincent.Riera@imgtec.com> References: <1409829526-49853-1-git-send-email-Vincent.Riera@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.104] Subject: [Buildroot] [PATCH 2/2] setserial: Disable manpages X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net There is no configure option to disable the manpages, so we use this patch to disable them. Otherwise this package would fail to build on systems without the groff package installed because the build system calls 'nroff' in the Makefile. Fixes: http://autobuild.buildroot.net/results/c73/c736933d4110865008f2d1e8b531b6e392c68285/ Signed-off-by: Vicente Olivert Riera Reviewed-by: Markos Chandras --- .../setserial-0003-disable-manpages.patch | 61 ++++++++++++++++++++ 1 files changed, 61 insertions(+), 0 deletions(-) create mode 100644 package/setserial/setserial-0003-disable-manpages.patch diff --git a/package/setserial/setserial-0003-disable-manpages.patch b/package/setserial/setserial-0003-disable-manpages.patch new file mode 100644 index 0000000..ebd3cb2 --- /dev/null +++ b/package/setserial/setserial-0003-disable-manpages.patch @@ -0,0 +1,61 @@ +setserial: Disable manpages + +There is no configure option to disable the manpages, so we use this +patch to disable them. Otherwise this package would fail to build on +systems without the groff package installed because the build system +calls 'nroff' in the Makefile. + +Fixes: + http://autobuild.buildroot.net/results/c73/c736933d4110865008f2d1e8b531b6e392c68285/ + +Signed-off-by: Vicente Olivert Riera +--- setserial-2.17/Makefile.in.orig 2014-09-04 11:58:05.685475241 +0100 ++++ setserial-2.17/Makefile.in 2014-09-04 11:59:14.508641155 +0100 +@@ -17,26 +17,20 @@ DEFS = @DEFS@ + INCS = -I. + TAR = tar + +-all: setserial setserial.cat ++all: setserial + + setserial: setserial.c + $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial + +-setserial.cat: setserial.8 +- nroff -man setserial.8 > setserial.cat +- +-install: setserial setserial.8 ++install: setserial + mkdir -p $(DESTDIR)/usr/bin + $(INSTALL_PROGRAM) setserial $(DESTDIR)/usr/bin +- mkdir -p $(DESTDIR)/usr/share/man/man8 +- $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/share/man/man8 + + clean: +- $(RM) setserial setserial.o setserial.cat *~ ++ $(RM) setserial setserial.o *~ + + distclean: clean +- $(RM) config.status config.log config.cache MCONFIG Makefile \ +- setserial.8 ++ $(RM) config.status config.log config.cache MCONFIG Makefile + + realclean: distclean + $(RM) configure +@@ -57,7 +51,6 @@ $(srcdir)/.exclude-file: + echo "$(SRCROOT)/config.cache" >> $(srcdir)/.exclude-file + echo "$(SRCROOT)/config.status" >> $(srcdir)/.exclude-file + echo "$(SRCROOT)/setserial" >> $(srcdir)/.exclude-file +- echo "$(SRCROOT)/setserial.cat" >> $(srcdir)/.exclude-file + echo "$(SRCROOT)/setserial.o" >> $(srcdir)/.exclude-file + echo "$(SRCROOT)/.exclude-file" >> $(srcdir)/.exclude-file + echo $(SRCROOT)/e2fsprogs-$(VERSION).tar.gz \ +@@ -76,8 +69,5 @@ ${srcdir}/configure: configure.in # aclo + Makefile: Makefile.in config.status + CONFIG_FILES=Makefile ./config.status + +-setserial.8: setserial.8.in config.status +- CONFIG_FILES=setserial.8 ./config.status +- + config.status: configure + ./config.status --recheck