Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2003 08:47:54 +0800 (CST)
From:      Yen-Ming Lee <leeym@utopia.leeym.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56062: fix MYSQL related typo in bsd.port.mk
Message-ID:  <20030828004754.737483E9B53@utopia.leeym.com>
Resent-Message-ID: <200308280050.h7S0oHjc040196@freefall.freebsd.org>

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

>Number:         56062
>Category:       ports
>Synopsis:       fix MYSQL related typo in bsd.port.mk
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 27 17:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.1-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #4: Sun Aug 24 06:56:03 CST 2003 root@utopia.leeym.com:/mnt/obj/usr/src/sys/UTOPIA i386


	
>Description:

s/MYSQL_323_LIBVER/MYSQL323_LIBVER/g

this typo cause the ports failed to check if mysql-3.23 is installed.

>How-To-Repeat:

1. install mysql-3.23
2. change directory into any port with USE_MYSQL
3. run "make -V MYSQL_VER"
4. it shows "40" (default version).

>Fix:

	

--- bsd.port.mk.diff begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.464
diff -u -r1.464 bsd.port.mk
--- bsd.port.mk	27 Aug 2003 04:42:45 -0000	1.464
+++ bsd.port.mk	28 Aug 2003 00:42:19 -0000
@@ -1534,7 +1534,7 @@
 MYSQL_VER=	${WANT_MYSQL_VER}
 .elif defined(WITH_MYSQL_VER)
 MYSQL_VER=	${WITH_MYSQL_VER}
-.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL_323_LIBVER})
+.elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL323_LIBVER})
 MYSQL_VER=	323
 .elif exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.${MYSQL40_LIBVER})
 MYSQL_VER=	40
--- bsd.port.mk.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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