From owner-freebsd-current@FreeBSD.ORG Thu Jul 26 20:11:50 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 989FE106566C for ; Thu, 26 Jul 2012 20:11:50 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 574FF8FC0C for ; Thu, 26 Jul 2012 20:11:50 +0000 (UTC) Received: by ghbz22 with SMTP id z22so2901268ghb.13 for ; Thu, 26 Jul 2012 13:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/AXg1iNOdKMxw6t4ibg5xTStNOPLEtprP9cEXjP1ds4=; b=t5aPql9Dw4UrgJy7HxfEEVDkV/VMV5GsiCE2t4VviB8tYCysOe0dcK3GpU8IpLG1Eu HOOhw98m/fPOUEFln8weV0ol2Wo4X5IcmPOaugWO5ayaTeglkUJ6tK+IrESLKNEwgSxs 0Ie2ifpGdSoDMFemHC1Cf5JYuTGkWd43jpYugcLjMXESSZo20M4kGHenzUQNMmYUb8fC l3BjFODoNwR/Sqa+AAbtscMDMO/5ZYvrvQryvt5laF8yQ3UfVlY8IKjLNEcQ4DaNt8H+ CeOoCPRW6Wk5AyAIDRQpsbShfHVQUyMxbUfh6ryKtuW9otpiCLSMnINvElqYB3qsNq9q ULKw== MIME-Version: 1.0 Received: by 10.60.25.226 with SMTP id f2mr123342oeg.13.1343333509753; Thu, 26 Jul 2012 13:11:49 -0700 (PDT) Received: by 10.76.125.233 with HTTP; Thu, 26 Jul 2012 13:11:49 -0700 (PDT) Date: Thu, 26 Jul 2012 15:11:49 -0500 Message-ID: From: Jeremy Messenger To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Is the :u behaves normal or not (a bug) in the make? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 20:11:50 -0000 Hello all, While I was working on add the :build/:run feature in the bsd.gnome.mk. I got a bug where it will running some dependencies got duplicate. Thanks to the make(1) that shows me the :u feature to get rid of the duplicates. But it doesn't exactly help unless I use the :O to get the words in order to make the :u works. I am not sure if it's just limited on how it works (normal) or it's a bug. Here's an example test: ----------------------------- USE_TEST= foo bar bar foobar foo USE_TEST1= foo bar bar foobar foo test: @${ECHO_CMD} "USE_TEST: " ${USE_TEST:u} @${ECHO_CMD} "USE_TEST1: " ${USE_TEST1:O:u} ----------------------------- Here's result: ----------------------------- # make test USE_TEST: foo bar foobar foo USE_TEST1: bar foo foobar ----------------------------- Thanks, Mezz -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org