Bug 176359 - www/mediawiki required sqlite3, not sqlite for PHP_VER 52+
Summary: www/mediawiki required sqlite3, not sqlite for PHP_VER 52+
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-22 19:40 UTC by Oleg Ginzburg
Modified: 2015-12-24 23:57 UTC (History)
3 users (show)

See Also:


Attachments
file.diff (768 bytes, patch)
2013-02-22 19:40 UTC, Oleg Ginzburg
no flags Details | Diff
mediawiki.txt (771 bytes, text/plain; charset="ISO-8859-1")
2013-02-22 21:40 UTC, olevole
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Ginzburg 2013-02-22 19:40:00 UTC
Current mediawiki port have

.if ${PORT_OPTIONS:MSQLITE}
USE_PHP+=       sqlite
.endif

which is incorrect with respect to the current version of php (/usr/ports/bsd.php.mk _USE_PHP_ALL + _USE_PHP_VER5 )

Fix: fix dependency to sqlite3 for PHP != 52

Patch attached with submission follows:
How-To-Repeat: env WITH_SQLITE=yes make -C /usr/ports/www/mediawiki   

will stop with error message:

Unknown extension sqlite for PHP 5.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-22 19:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 olevole 2013-02-22 21:40:09 UTC
Previous patch was incorrect - mediawiki wants pdo_sqlite, not sqlite3. The 
correct version of the patch.
Comment 3 Carlo Strub freebsd_committer freebsd_triage 2014-09-11 20:10:46 UTC
Is this PR still relevant?
Comment 4 Torsten Zühlsdorff 2015-10-15 12:01:44 UTC
(In reply to Carlo Strub from comment #3)

Hello Carlo,

this Patch is clearly overcome by time. The patch handles a special case for PHP 5.2 which is no longer in the ports. All other mediawiki ports looks fine. Therefore this PR can be closed!

Greetings,
Torsten
Comment 5 Jason Unovitch freebsd_committer freebsd_triage 2015-12-24 23:57:20 UTC
(In reply to Torsten Zühlsdorff from comment #4)
Indeed, www/mediawiki123, www/mediawiki124, www/mediawiki125, and www/mediawiki126 properly use 'sqlite3'.  Closing PR as overcome by events as the port it was reported against no longer exists and the current versions are all correct.