ports/54656: mail/imp3: adding support of mysql40 & mysql41.

Thierry Thomas thierry at pompo.net
Sun Jul 20 14:40:09 UTC 2003


>Number:         54656
>Category:       ports
>Synopsis:       mail/imp3: adding support of mysql40 & mysql41.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 07:40:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Apr 29 18:16:35 CEST 2003 thierry at graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	IMP's Makefile checks that PHP is linked with a database client, but
	it was only looking for libmysqlclient.so.10.

	Reported by Tiago Bortoletto Vaz <tiago at nexos.com.br>.

	(I'm pretty sure to have sent such a patch some months ago, but there
	is no trace neither in gnats nor in my mailbox...)

>How-To-Repeat:
	Install PHP with MySQL 4, and then try to install IMP: you'll get this
	message:
	Please configure PHP with a database support.
	MySQL, PostgreSQL and Sybase (CTLIB or DBLIB)
	can be used with PHP AND IMP.

>Fix:
	Please apply this patch:

--- imp3.diff begins here ---
diff -urN mail/imp3.orig/Makefile mail/imp3/Makefile
--- mail/imp3.orig/Makefile	Thu Jun 12 19:07:38 2003
+++ mail/imp3/Makefile	Sun Jul 20 16:05:19 2003
@@ -219,7 +219,7 @@
 	fi
 .endif
 .if !defined(WITHOUT_SUPPORTED_DB)
-	@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libmysqlclient.so.10"; then \
+	@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libmysqlclient.so"; then \
 	 if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libpq.so.3" ; then \
 	  if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libsybdb.so.1" ; then \
 	   if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libct.so.0" ; then \
--- imp3.diff ends here ---

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



More information about the freebsd-ports-bugs mailing list