Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 07:03:27 GMT
From:      Alexey Markov <redrat@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/169959: lang/php53: a little typo in pdo_mysql option
Message-ID:  <201207180703.q6I73RjW006026@red.freebsd.org>
Resent-Message-ID: <201207180710.q6I7A5e2075074@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169959
>Category:       ports
>Synopsis:       lang/php53: a little typo in pdo_mysql option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 18 07:10:04 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207180703.q6I73RjW006026>