From owner-freebsd-ports@freebsd.org Tue Mar 15 12:12:23 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 BD545AD1F29 for ; Tue, 15 Mar 2016 12:12:23 +0000 (UTC) (envelope-from jim@ohlste.in) Received: from mail-qg0-x241.google.com (mail-qg0-x241.google.com [IPv6:2607:f8b0:400d:c04::241]) (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 81047D5C for ; Tue, 15 Mar 2016 12:12:23 +0000 (UTC) (envelope-from jim@ohlste.in) Received: by mail-qg0-x241.google.com with SMTP id p68so1004829qge.2 for ; Tue, 15 Mar 2016 05:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohlste-in.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=XHNpmTT8gFhNVeusRDG0d+r5vVWBS4PXDXgTF8XCOqo=; b=17Q3dheNpltKb9rV+99Va6w+7BKEFFQlgrnoe8xoVN2zlHiN2PoxDTN8HIz4w89ryb OoapczlsmUnuAoEyG2sLYyPfYuTp8aleE9/YBHE9qV1DeWBDhmYlOoouaq8jwUGWLG7v yc+JIqQa0bw0wE/2b8LaPxFZiMQjKO6q7ss3wcaIO+QPqAXzxHVNbOTGeJWwAxzDwyTZ kLUAq1uyDhKFIwI1auLC5nKtvbWlkt1xfe/7VebEu8QBM4Lgs7S7QWE7kBX0BmIOUqr1 3kjDl3hRSYAigGE7hA5D3AuUzkrdhvrOgCj20B0MNrgJX6yScEIuVgFpyR2FBsg0UGoJ isUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=XHNpmTT8gFhNVeusRDG0d+r5vVWBS4PXDXgTF8XCOqo=; b=ZnSmGWf5/31AgT/QI6WparJ9CAoRTotcZ6PXPe2qbZyUfLA12vmSTVN6Sns/tVivZD dHHWnrUwpKEnX9HwteCE/f3kpdTQtIP/HkmnXRYp60OLF5bQdUWGahHdAOnFmiGOlqU1 e+tBOuqZmPislxaIM/xXboMEHLE1bvzbNaf1b+kX/3q3+tyh8x7P/CtoursRksWL0jvk liSmQEfvxo8R1v03qNCP1GlopGcjt6NQAHTvEgwD8EMcDk32cH14vwopSqPYJfOCc+nJ d47FkfQTsB/J0/2YdDz3MHpDlHwcViy7bq1INXyh2n4qQ5Wfc0GdUPNippy6XKFPMhbJ FYcw== X-Gm-Message-State: AD7BkJLW/usuBVrSFdchwbmFz1r1PGPCG25zW+thLSlv2gcorGY5wkSoN3QGyOXmIt7TMA== X-Received: by 10.140.94.69 with SMTP id f63mr37883908qge.0.1458043942040; Tue, 15 Mar 2016 05:12:22 -0700 (PDT) Received: from ?IPv6:2001:470:7:71f::2? (ohlstein-2-pt.tunnel.tserv13.ash1.ipv6.he.net. [2001:470:7:71f::2]) by smtp.googlemail.com with ESMTPSA id c66sm12493762qha.27.2016.03.15.05.12.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2016 05:12:21 -0700 (PDT) Subject: Re: Owncloud port marked broken with PHP 7.0 and MySQL To: Kurt Jaeger References: <56E725AF.3000108@ohlste.in> <4BB1DBF1542C5E725325D045@atuin.in.mat.cc> <56E7F6E3.5020001@ohlste.in> <20160315115407.GV35640@home.opsec.eu> Cc: Mathieu Arnold , ports FreeBSD , kevlo@FreeBSD.org From: Jim Ohlstein Message-ID: <56E7FC24.3050606@ohlste.in> Date: Tue, 15 Mar 2016 08:12:20 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160315115407.GV35640@home.opsec.eu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 15 Mar 2016 12:12:23 -0000 Hello, 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. --- 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