From alex@vaio.alexdupre.com  Tue Sep 16 11:49:09 2003
Return-Path: <alex@vaio.alexdupre.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1030616A4B3; Tue, 16 Sep 2003 11:49:09 -0700 (PDT)
Received: from relay.gufi.org (civetta.gufi.org [212.110.23.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 899C343FA3; Tue, 16 Sep 2003 11:49:03 -0700 (PDT)
	(envelope-from alex@vaio.alexdupre.com)
Received: from vaio.alexdupre.com (host245-49.pool8288.interbusiness.it [82.88.49.245])
	by relay.gufi.org (Postfix) with ESMTP
	id E517820F5C; Tue, 16 Sep 2003 20:49:01 +0200 (CEST)
Received: from vaio.alexdupre.com (localhost [127.0.0.1])
	by vaio.alexdupre.com (8.12.9/8.12.9) with ESMTP id h8GIn1rV090246;
	Tue, 16 Sep 2003 20:49:01 +0200 (CEST)
	(envelope-from alex@vaio.alexdupre.com)
Received: (from alex@localhost)
	by vaio.alexdupre.com (8.12.9/8.12.9/Submit) id h8GIn0SC090245;
	Tue, 16 Sep 2003 20:49:00 +0200 (CEST)
Message-Id: <200309161849.h8GIn0SC090245@vaio.alexdupre.com>
Date: Tue, 16 Sep 2003 20:49:00 +0200 (CEST)
From: Alex Dupre <sysadmin@alexdupre.com>
Reply-To: Alex Dupre <sysadmin@alexdupre.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: roam@freebsd.org
Subject: [Maintainer Fix] Port: MySQL 4.0 (Build on -CURRENT)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56925
>Category:       ports
>Synopsis:       [Maintainer Fix] Port: MySQL 4.0 (Build on -CURRENT)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 16 11:50:17 PDT 2003
>Closed-Date:    Fri Oct 03 09:10:56 PDT 2003
>Last-Modified:  Fri Oct 03 09:10:56 PDT 2003
>Originator:     Alex Dupre
>Release:        FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.8-ALEXDUPRE i386
>Description:
Fix build (configure) on -CURRENT (-pthread removal)
>How-To-Repeat:
>Fix:

--- mysql40.diff begins here ---
--- Makefile.orig	Tue Sep 16 20:39:28 2003
+++ Makefile	Tue Sep 16 20:46:27 2003
@@ -126,6 +126,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_server_dirs@ scripts support-files|g" ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e "s|install: install-am|install:|g" ${WRKSRC}/include/Makefile.in
+	@${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} "s|-pthread|${PTHREAD_LIBS}|g"
 
 .if defined(WITH_OPENSSL) && defined(BUILD_STATIC)
 pre-configure:
@@ -172,6 +173,7 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ tests man|g" ${WRKSRC}/Makefile.in
+	@${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} "s|-pthread|${PTHREAD_LIBS}|g"
 
 post-install:
 	@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh
--- mysql40.diff ends here ---


>Release-Note:
>Audit-Trail:

From: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: Alex Dupre <sysadmin@alexdupre.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org, roam@FreeBSD.org
Subject: Re: ports/56925: [Maintainer Fix] Port: MySQL 4.0 (Build on
 -CURRENT)
Date: Tue, 16 Sep 2003 22:10:42 +0200

 Hi Alex !
 
 Can you include patch from PR 56252 to avoid infinite loops if USE_MYSQL
 is defined as an environement variable, please ?
 
 regards,
 clem

From: Alex Dupre <sysadmin@alexdupre.com>
To: Clement Laforet <sheepkiller@cultdeadsheep.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org, roam@FreeBSD.org
Subject: Re: ports/56925: [Maintainer Fix] Port: MySQL 4.0 (Build on -CURRENT)
Date: Tue, 16 Sep 2003 22:21:42 +0200

 Tuesday, September 16, 2003, 10:10:42 PM, you wrote:
 
 CL> Can you include patch from PR 56252 to avoid infinite loops if USE_MYSQL
 CL> is defined as an environement variable, please ?
 
 For me it's ok.
 
 -- 
 Alex Dupre                             sysadmin@alexdupre.com
 http://www.alexdupre.com/              alex@sm.FreeBSD.org
 
 Today's excuse: solar flares
 
 
Responsible-Changed-From-To: freebsd-ports-bugs->roam 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 24 02:07:49 PDT 2003 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=56925 
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Fri Oct 3 09:10:44 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56925 
>Unformatted:
