[Bug 268522] www/yourls missing php modules

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Dec 2022 23:47:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268522

            Bug ID: 268522
           Summary: www/yourls missing php modules
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: jason@tubnor.net
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

The current packed yourls port requires the additional loading of the following
php modules to operate correctly:

php81-iconv
php81-pdo_mysql

Below is a patch that could potentially fix the issue for users:

--- Makefile.orig       2022-12-23 10:38:06.682048000 +1100
+++ Makefile    2022-12-23 10:41:58.378126000 +1100
@@ -10,7 +10,9 @@ LICENSE=      MIT
 LICENSE_FILE=  ${WRKSRC}/LICENSE

 USES=          cpe php
-USE_PHP=       bcmath curl json mysqli pcre xml
+USE_PHP=       bcmath curl iconv json mysqli pcre pdo xml
+
+MYSQL_USE=     PHP=pdo_mysql

 NO_ARCH=       yes
 NO_BUILD=      yes

-- 
You are receiving this mail because:
You are the assignee for the bug.