From owner-freebsd-stable@FreeBSD.ORG  Wed Sep  3 23:32:50 2014
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 8BD1C956
 for <freebsd-stable@freebsd.org>; Wed,  3 Sep 2014 23:32:50 +0000 (UTC)
Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com
 [IPv6:2a00:1450:400c:c00::230])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 25D7A1913
 for <freebsd-stable@freebsd.org>; Wed,  3 Sep 2014 23:32:50 +0000 (UTC)
Received: by mail-wg0-f48.google.com with SMTP id n12so9152844wgh.31
 for <freebsd-stable@freebsd.org>; Wed, 03 Sep 2014 16:32:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=7CQOrVRSSwQQ7G6gzY34IiGAB6OuuHoMvTancYJKv88=;
 b=UQqnOyICzrHKhc6qKonlvR6pX4So4kp9rNyhNEpZy1k7wnglaMteiByyx71uah/0lX
 R6bmowjpDBU4rroIQedm9qLrhyKv7zYIh2TD7F/XOX5EhLrpVVVTgUQR4dFBUt22Pajr
 Hj2BWC4yIrY884JeWY3/6glFB6hEedTAYHeJHRhfbfqnQSRrSorYQF6ta/kQeo1u689I
 UOCLQunBLunKlQqjc3FrSUeCzf+HbDWTNpIoCB05IGEtLptj+F4P+MlISUyGxLZ6JSEn
 DcuvWOV3F86RK10oSIdfh0P239NGiVT9G1Kpb91zVjjuHEYNO2V//Kblaafd7ReR2k8D
 6v3A==
MIME-Version: 1.0
X-Received: by 10.194.19.200 with SMTP id h8mr864865wje.40.1409787168409; Wed,
 03 Sep 2014 16:32:48 -0700 (PDT)
Received: by 10.217.2.18 with HTTP; Wed, 3 Sep 2014 16:32:48 -0700 (PDT)
In-Reply-To: <op.xlmwnmovg7njmm@michael-think>
References: <op.xlmsddjrg7njmm@michael-think>
 <CAKFCL4UX1Z-UsJYix8RR1eSkU38j04UE3WOt7d-Wz4yZX9J9OQ@mail.gmail.com>
 <op.xlmwnmovg7njmm@michael-think>
Date: Wed, 3 Sep 2014 19:32:48 -0400
Message-ID: <CAKFCL4Xx9MUdiTTzNcAmiGpKPnNVUfmp+K+uMpjaZzJ1cZQZyQ@mail.gmail.com>
Subject: Re: pkg question - Difference pkg vs port
From: Brandon Allbery <allbery.b@gmail.com>
To: Michael Ross <gmx@ross.cx>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1
Cc: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Sep 2014 23:32:50 -0000

On Wed, Sep 3, 2014 at 7:24 PM, Michael Ross <gmx@ross.cx> wrote:

> "Anything that provides" I think is the key to where I started thinking
> wrong:
>
> The dependency is not "Shared libs required" libmysqlclient.so.18,
> but one specific port that provides libmysqlclient.so.18 - mysql55-client.
>

Ports can do "provides library" dependencies. Packages can only depend on
packages. You can try to force it but you could also confuse your package
database rather badly.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net