Bug 169959 - lang/php53: a little typo in pdo_mysql option
lang/php53: a little typo in pdo_mysql option
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Florian Smeets
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-18 08:10 UTC by Alexey Markov
Modified: 2012-07-18 08:50 UTC (History)
0 users

See Also:


Attachments
file.diff (297 bytes, patch)
2012-07-18 08:10 UTC, Alexey Markov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Markov 2012-07-18 08:10:04 UTC
There is a little typo in the Makefile.ext file of lang/php53 port which broke dependenses for pdo_mysql extention.

Fix: Use attached patch.

Patch attached with submission follows:
How-To-Repeat: pdo_mysql unconditionally depends on libmysql even if MySQLND option is on.
Comment 1 Edwin Groothuis freebsd_committer 2012-07-18 08:10:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2012-07-18 08:40:56 UTC
Author: flo
Date: Wed Jul 18 07:40:41 2012
New Revision: 301070
URL: http://svn.freebsd.org/changeset/ports/301070

Log:
  - fix a typo which results in php53-pdo_mysql to always set USE_MYSQL
  - bump PORTREVISION of php53-pdo_mysql
  
  PR:		ports/169959
  Submitted by:	Alexey Markov <redrat@mail.ru>

Modified:
  head/databases/php53-pdo_mysql/Makefile   (contents, props changed)
  head/lang/php53/Makefile.ext   (contents, props changed)

Modified: head/databases/php53-pdo_mysql/Makefile
==============================================================================
--- head/databases/php53-pdo_mysql/Makefile	Wed Jul 18 07:34:11 2012	(r301069)
+++ head/databases/php53-pdo_mysql/Makefile	Wed Jul 18 07:40:41 2012	(r301070)
@@ -5,6 +5,8 @@
 # $FreeBSD$
 #
 
+PORTREVISION=	1
+
 CATEGORIES=	databases
 
 MASTERDIR=	${.CURDIR}/../../lang/php53

Modified: head/lang/php53/Makefile.ext
==============================================================================
--- head/lang/php53/Makefile.ext	Wed Jul 18 07:34:11 2012	(r301069)
+++ head/lang/php53/Makefile.ext	Wed Jul 18 07:40:41 2012	(r301070)
@@ -591,7 +591,7 @@ CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC
 .endif
 
 .if ${PHP_MODNAME} == "pdo_mysql"
-.	if ${PORT_OPTIONS:MYSQLND}
+.	if ${PORT_OPTIONS:MMYSQLND}
 CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd
 
 USE_PHP+=	mysql
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Florian Smeets freebsd_committer 2012-07-18 08:41:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!