ports/56062: fix MYSQL related typo in bsd.port.mk

Yen-Ming Lee leeym at utopia.leeym.com
Thu Aug 28 00:50:26 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list