Bug 241567 - www/kanboard: Fix building with MySQL
Summary: www/kanboard: Fix building with MySQL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-29 06:16 UTC by Vikash Badal
Modified: 2020-02-11 08:37 UTC (History)
2 users (show)

See Also:
tobik: maintainer-feedback-
koobs: merge-quarterly+


Attachments
patch to fix sanitycheck when mysql is enabled (341 bytes, patch)
2019-10-29 06:16 UTC, Vikash Badal
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vikash Badal 2019-10-29 06:16:11 UTC
Created attachment 208673 [details]
patch to fix sanitycheck when mysql is enabled

when compiling with mysql support, the build fails:

=======================<phase: check-sanity   >============================
Unknown extension pdo_mysqli for PHP 72.

the attached diff fixes the issue


---------
root@l5580:/usr/ports/www/kanboard # diff -u Makefile Makefile.orig
--- Makefile	2019-10-29 08:12:17.570639000 +0200
+++ Makefile.orig	2019-10-29 08:12:04.346477000 +0200
@@ -32,7 +32,7 @@
 OPCACHE_DESC=	OPcache support (recommended)
 
 MYSQL_USES=	mysql
-MYSQL_USE=	PHP=pdo_mysql,mysqli
+MYSQL_USE=	PHP=pdo_mysqli,mysqli
 PGSQL_USES=	pgsql
 PGSQL_USE=	PHP=pdo_pgsql,pgsql
 SQLITE_USE=	PHP=pdo_sqlite,sqlite3
---------
Comment 1 commit-hook freebsd_committer 2020-02-11 08:31:37 UTC
A commit references this bug:

Author: tobik
Date: Tue Feb 11 08:30:45 UTC 2020
New revision: 525792
URL: https://svnweb.freebsd.org/changeset/ports/525792

Log:
  www/kanboard: Unbreak MYSQL option after r514556

  Unknown extension pdo_mysqli for PHP 72.

  Pointy hat:	swills
  PR:		241567
  Submitted by:	Vikash Badal <vikashb@where-ever.za.net>
  Approved by:	bsd@if0.eu (maintainer timeout, 3 months)

Changes:
  head/www/kanboard/Makefile
Comment 2 commit-hook freebsd_committer 2020-02-11 08:32:39 UTC
A commit references this bug:

Author: tobik
Date: Tue Feb 11 08:31:43 UTC 2020
New revision: 525793
URL: https://svnweb.freebsd.org/changeset/ports/525793

Log:
  MFH: r525792

  www/kanboard: Unbreak MYSQL option after r514556

  Unknown extension pdo_mysqli for PHP 72.

  Pointy hat:	swills
  PR:		241567
  Submitted by:	Vikash Badal <vikashb@where-ever.za.net>
  Approved by:	bsd@if0.eu (maintainer timeout, 3 months)

  Approved by:	ports-secteam blanket

Changes:
_U  branches/2020Q1/
  branches/2020Q1/www/kanboard/Makefile