From owner-freebsd-ports@freebsd.org Wed Mar 16 05:37:36 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 E67ACAD109B for ; Wed, 16 Mar 2016 05:37:36 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 945DAEB0; Wed, 16 Mar 2016 05:37:36 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.15.2/8.15.2) with ESMTPS id u2G5adIk062798 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Mar 2016 13:36:40 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.15.2/8.15.2/Submit) id u2G5aRQX062797; Wed, 16 Mar 2016 13:36:27 +0800 (CST) (envelope-from kevlo) Date: Wed, 16 Mar 2016 13:36:26 +0800 From: Kevin Lo To: Jim Ohlstein Cc: Kurt Jaeger , Mathieu Arnold , ports FreeBSD Subject: Re: Owncloud port marked broken with PHP 7.0 and MySQL Message-ID: <20160316053626.GA62787@ns.kevlo.org> References: <56E725AF.3000108@ohlste.in> <4BB1DBF1542C5E725325D045@atuin.in.mat.cc> <56E7F6E3.5020001@ohlste.in> <20160315115407.GV35640@home.opsec.eu> <56E7FC24.3050606@ohlste.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56E7FC24.3050606@ohlste.in> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2016 05:37:37 -0000 On Tue, Mar 15, 2016 at 08:12:20AM -0400, Jim Ohlstein wrote: > > Hello, Hi Jim, > On 3/15/16 7:54 AM, Kurt Jaeger wrote: > > Hi! > > > >> At the risk of sounding like a broken record (did you actually READ what > >> I wrote?) Owncloud does NOT require php-mysql, it requires > >> php-pdo_mysql. In PHP versions before 7.0 that pulled in the > >> corresponding php-mysql port. It is NOT a requirement (there, I said it > >> a THIRD time). > > > > Can you submit a patch to the ports (maybe fixing the depends) so that > > it builds ? > > > > It's pretty straightforward. I'm guessing other ports were pulled in by > this blanket search for requiring mysql extension when in fact what was > needed was pdo-mysql. You're right. Owncloud doesn't require php-mysql, I committed your fix as r411212, thanks. > > --- Makefile (revision 411153) > +++ Makefile (working copy) > @@ -2,6 +2,7 @@ > > PORTNAME= owncloud > PORTVERSION= 9.0.0 > +PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= http://download.owncloud.org/community/ > > @@ -40,8 +41,7 @@ > LDAP_USE= PHP=ldap > MP3INFO_BUILD_DEPENDS= mp3info:${PORTSDIR}/audio/mp3info > MP3INFO_RUN_DEPENDS= ${MP3INFO_BUILD_DEPENDS} > -MYSQL_USE= MYSQL=client PHP=mysql,pdo_mysql > -MYSQL_VARS= IGNORE_WITH_PHP+=70 > +MYSQL_USE= MYSQL=client PHP=pdo_mysql > PGSQL_USES= pgsql > PGSQL_USE= PHP=pdo_pgsql,pgsql > SQLITE_USE= PHP=pdo_sqlite,sqlite3 > > > Build log available at http://bit.ly/1UdfsGA. > > -- > Jim Ohlstein > > > "Never argue with a fool, onlookers may not be able to tell the > difference." - Mark Twain >