From owner-svn-ports-head@freebsd.org Thu May 26 04:56:10 2016 Return-Path: Delivered-To: svn-ports-head@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 73FA8B4A859; Thu, 26 May 2016 04:56:10 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::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 EC8351CD6; Thu, 26 May 2016 04:56:09 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: by mail-lf0-x22b.google.com with SMTP id w16so15503029lfd.2; Wed, 25 May 2016 21:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=YwDegisH8Wik3FILasIpx2ECJzmYvuZgxrT6SHZrLnU=; b=PQea5HviaZIHxCaZB4C00r/excxIfqszA8I3tlJP/+3Sb5TX3lWzgpWJ9UP1On6kMq DQ6+7iE9rc9OEAh47FXXAp6L8Y9fLW63oeJOp7q1oGsVHcMcyAcH+x3CT8GsGzw/xNpI RRStHMyRRNrNnyCUSEVHgQ4CZdLJ2MVidnYnEg7fT+XHEq2VhSAgaMAJkphALWZXSwEv 2hLKACjSqzfOB2/wulsy4NZbRmMeYThAV6pYiOyKDlzGv+m9+JSxvjy/d2+IgBa0aH62 i0oVI9RrP30NYGuIV9NO2zRs9Ql/PtdMQxWb4A2Yhzr7C9k/EkVudjw3rTAHivuFxgYV 8GWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=YwDegisH8Wik3FILasIpx2ECJzmYvuZgxrT6SHZrLnU=; b=CgDilxm+2b+BOAxgZh/ly//Cza8YmVMWnQSKcw5ZxwSdrN4X+K7iWkMtx82BfKezMX GjDDfSZ+zxBrzmDl7x6F9yvuoAPLvw53o4m1z72Mmkz92uLaG9Eqia+UCNhY2oLd+9cm lXD63dwPoicx1EOKGwP9iYWSuuXZiz4UNJv89O5V4IOF5KCW9LOb4LwRv6UfMP9hi48p 2c9iEVnVS2Cr9DSYzzSwov4JcK28lFCeKDBFBIDFUW/QoxO5oW6TUIe0+I+JbJBliTIz tnmQKHFt9ncIXuIaS1aW76t6gmj4KWE+TYflrwMUQ9DQQj80SJRMlpZYwCynWPKalRKW FF7Q== X-Gm-Message-State: ALyK8tK/G87BR82LfOAa6wOfRvp44CFYXq0Znq0jCQMjZit0XLl/c+3RVii1HroIpusxVw== X-Received: by 10.25.29.138 with SMTP id d132mr2207582lfd.142.1464238568124; Wed, 25 May 2016 21:56:08 -0700 (PDT) Received: from dev.san.ru ([88.147.129.60]) by smtp.gmail.com with ESMTPSA id d63sm2124966lfb.48.2016.05.25.21.56.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 May 2016 21:56:06 -0700 (PDT) Sender: Roman Bogorodskiy Date: Thu, 26 May 2016 07:56:01 +0300 From: Roman Bogorodskiy To: Mathieu Arnold Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, ganbold@freebsd.org Subject: Re: svn commit: r415833 - in head/databases: . ateam_mysql_ldap_auth ateam_mysql_ldap_auth/files Message-ID: <20160526045559.GA97321@dev.san.ru> References: <201605251418.u4PEIvLC049487@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 04:56:10 -0000 Mathieu Arnold wrote: > +--On 25 mai 2016 14:18:57 +0000 Roman Bogorodskiy > wrote: > | +RUN_DEPENDS=3D mysql${MYSQL_VER}-server>5.6:databases/mysql56-server >=20 > This should most certainly be replaced by USES=3Dmysql:server. Yeah, this bit looks wrong indeed. However, semantic of USES=3Dmysql is not quite clear to me. USES=3Dmysql adds a dependency on client: $ make -V LIB_DEPENDS -V RUN_DEPENDS libconfig.so:devel/libconfig libmysqlclient.so.18:databases/mysql56-client = libldap-2.4.so.2:net/openldap24-client $ Changing that to mysql:server gives the following: $ make -V LIB_DEPENDS -V RUN_DEPENDS libconfig.so:devel/libconfig libldap-2.4.so.2:net/openldap24-client /usr/local/libexec/mysqld:databases/mysql56-server $ As you can see, the client dependency is gone now. Maybe I'm missing something obvious, but how can I have both client and server dependencies? On a related note, I'm actually considering just dropping this RUN_DEPENDS line entirely. Practically, it's obvious that if you're installing a MySQL plugin for the MySQL server, you'll need the server itself to use this plugin with.=20 Roman Bogorodskiy