From nobody@FreeBSD.org  Wed Jul 18 07:03:27 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DD6F8106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Jul 2012 07:03:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id C90C98FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Jul 2012 07:03:27 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6I73RJP006027
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 18 Jul 2012 07:03:27 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q6I73RjW006026;
	Wed, 18 Jul 2012 07:03:27 GMT
	(envelope-from nobody)
Message-Id: <201207180703.q6I73RjW006026@red.freebsd.org>
Date: Wed, 18 Jul 2012 07:03:27 GMT
From: Alexey Markov <redrat@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lang/php53: a little typo in pdo_mysql option
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         169959
>Category:       ports
>Synopsis:       lang/php53: a little typo in pdo_mysql option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    flo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 18 07:10:04 UTC 2012
>Closed-Date:    Wed Jul 18 07:41:04 UTC 2012
>Last-Modified:  Wed Jul 18 07:50:11 UTC 2012
>Originator:     Alexey Markov
>Release:        8.3-RELEASE-p3
>Organization:
JSC Complitex
>Environment:
FreeBSD host.redrat.ru 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Mon Jul 9 17:38:10 MSK 2012 redrat@host.redrat.ru:/mnt/arc/obj/mnt/arc/src/sys/HOST amd64
>Description:
There is a little typo in the Makefile.ext file of lang/php53 port which broke dependenses for pdo_mysql extention.
>How-To-Repeat:
pdo_mysql unconditionally depends on libmysql even if MySQLND option is on.
>Fix:
Use attached patch.

Patch attached with submission follows:

--- Makefile.ext.orig	2012-07-16 21:04:46.000000000 +0400
+++ Makefile.ext	2012-07-18 10:55:56.000000000 +0400
@@ -591,7 +591,7 @@
 .endif
 
 .if ${PHP_MODNAME} == "pdo_mysql"
-.	if ${PORT_OPTIONS:MYSQLND}
+.	if ${PORT_OPTIONS:MMYSQLND}
 CONFIGURE_ARGS+=--with-pdo-mysql=mysqlnd
 
 USE_PHP+=	mysql


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->flo 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 18 07:10:15 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169959 
State-Changed-From-To: open->closed 
State-Changed-By: flo 
State-Changed-When: Wed Jul 18 07:41:03 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169959 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/169959: commit references a PR
Date: Wed, 18 Jul 2012 07:40:56 +0000 (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"
 
>Unformatted:
