From owner-freebsd-ports@freebsd.org Fri Jun 24 06:16:28 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 300AFB8042E for ; Fri, 24 Jun 2016 06:16:28 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8AD12A54 for ; Fri, 24 Jun 2016 06:16:27 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-qk0-x22b.google.com with SMTP id c73so135010146qkg.2 for ; Thu, 23 Jun 2016 23:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ViCrSPUK++m8uuP+ES5VGJM3fdmfFtY1Sza8QAXIGQM=; b=IBcL5uB1tDAFpM1JcS+WrqpVkEHsKw7gjRPu2Q0eoUjjsxQUwog/9UI+OFIo4BhZYr ndAgzNAIohq+uJnYFKGcUjMBEHaAFqpzrCyQAJIg/1hRT5rMPsgTDjv81KhNB8IPqoK/ QxlQ6l3xmTQ/eVsCMAFYkFufM4DuWln1qm9JMPRuVnH7/U3+sZP3Zhc5OogsSFNVZgw9 T8knuYtxS56vbwg+Z3HWYbmXnlZi3oJsvIuV3MUF0szEjF0rjW/dtQuW7c4tGY2olyc3 Hf1DghxFQhP+4vaCsu14GE9d/KWNdCi5u1vE8hmaTqaXmo0FGiwMy9nBSSgc7UoXzi9U WDMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ViCrSPUK++m8uuP+ES5VGJM3fdmfFtY1Sza8QAXIGQM=; b=ARs/ioZXZ1wDbE8Cq5G42QK2g/HinhhyKPHs3fFlqP5/ZN3HfsUHxK7jbLshAnOtQb MbSeTWATHbBYlAiFA9PSJG7sZDtR+1G6SU3rnK5Kk3j35mrqWdomVbXpkat0UVegDk90 L7P7sxIVmBgEipRN3+ZY5vrXExFGdtjDXXdSxOFugMBiRysuG3dzgSpRbIOn1SFdWzJh 2+ikvDCAAAnJRUG9/yGm/7lSnafvjCIar242YqOTH0BBaxVH4gOmGxqP4Eaj/mEkLcFq u0vQij6CgOcyfrgzx062kzOE7Aj2YlJTIWSH4RwINBtHn8h9SnAfHT2IS78AFsVYc7Ah JQyg== X-Gm-Message-State: ALyK8tKCFqxLIKH/UE48NU5VLzX7PyH2dE7O90VynzS1SCqmweWG1DhOiIQVg5T6T7HSg3w6YgjFuqc6ynx5iw== X-Received: by 10.55.48.203 with SMTP id w194mr2533214qkw.168.1466748986916; Thu, 23 Jun 2016 23:16:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.77.135 with HTTP; Thu, 23 Jun 2016 23:16:26 -0700 (PDT) From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Fri, 24 Jun 2016 08:16:26 +0200 Message-ID: Subject: QA script error (libc++) To: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2016 06:16:28 -0000 One of my ports is written in C++. It links agains libc++ that is in base (/usr/src/contrib/libc++). The port still builds fine and works but the QA scripts show an error complaining about the executable being linked to libc++ without the library being listed as an actual dependency and it suggests to add the following line to the Makefile: LIB_DEPENDS+=libc++.so:devel/libc++ Is this strictly necessary? Would something like this be acceptable?: .if !exists(/usr/lib/libc++.so) ... LIB_DEPENDS+=libc++.so:devel/libc++ ... .endif Note: the port does not compile on FreeBSD < 10.x Thanks in advance.