From patchwork Thu Jul 26 19:18:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 173477 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 993CA2C0089 for ; Fri, 27 Jul 2012 05:18:59 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 99F2E32C35; Thu, 26 Jul 2012 19:18:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gbzf1BNL8obd; Thu, 26 Jul 2012 19:18:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D5EB6314C0; Thu, 26 Jul 2012 19:18:53 +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 27AAF8F753 for ; Thu, 26 Jul 2012 19:18:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 135748C8F6 for ; Thu, 26 Jul 2012 19:18:52 +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 km4wmABKqIzW for ; Thu, 26 Jul 2012 19:18:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [85.10.205.246]) by whitealder.osuosl.org (Postfix) with ESMTPS id A7A148CB24 for ; Thu, 26 Jul 2012 19:18:45 +0000 (UTC) Received: from asgard (host45.186-125-85.telecom.net.ar [186.125.85.45]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.5/8.14.5) with ESMTP id q6QJIcS7017927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Jul 2012 19:18:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1343330323; bh=tsKp/pQoqBQM6FHmfwcd6/bg6C6G+w1zqGmpSHdxkdo=; h=From:To:Cc:Subject:Date; b=aMFA/xTJzuySO32Cf2fi6B7U4AwPSQ2OMLnkLV012wbWI/6QeyOVfLItVoPJFi2Mu CKknLnw3VtT1EfPIpxjIhb7+lJ+/vw5xg54rRrYfSjqB1AStiNC82tssRaMu8IRWBF q5Wup1W411vce78PuYJV2uxcYkZCv848sRZy3lV0= Received: by asgard (sSMTP sendmail emulation); Thu, 26 Jul 2012 16:18:38 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Thu, 26 Jul 2012 16:18:37 -0300 Message-Id: <1343330317-24730-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.8.6 X-Virus-Scanned: clamav-milter 0.97.3 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] less: build after busybox 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Build less after busybox if it's enabled, since we prefer the full-blown version over the light one if it's enabled (and busybox would overwrite the link when built afterwards). Signed-off-by: Gustavo Zacarias --- package/less/less.mk | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/package/less/less.mk b/package/less/less.mk index b758e46..c0ecf20 100644 --- a/package/less/less.mk +++ b/package/less/less.mk @@ -6,7 +6,8 @@ LESS_VERSION = 444 LESS_SITE = http://www.greenwoodsoftware.com/less -LESS_DEPENDENCIES = ncurses +# Build after busybox, full-blown is better +LESS_DEPENDENCIES = ncurses $(if $(BR2_PACKAGE_BUSYBOX),busybox) define LESS_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less