Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2010 19:08:11 +0100 (CET)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ume@FreeBSD.org
Subject:   ports/153587: [PATCH] security/cyrus-sasl2: fix build with mysql 5.5
Message-ID:  <20101231185118.C864DEDDE2@mail2.vx.sk>
Resent-Message-ID: <201012311900.oBVJ0JBg014426@freefall.freebsd.org>

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

>Number:         153587
>Category:       ports
>Synopsis:       [PATCH] security/cyrus-sasl2: fix build with mysql 5.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 31 19:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 8.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #14 r216479M: Thu Dec 16 10:31:17 CET
>Description:
Fix build with MySQL 5.5

Port maintainer (ume@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- cyrus-sasl-2.1.23_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/security/cyrus-sasl2/Makefile,v
retrieving revision 1.143
diff -u -r1.143 Makefile
--- Makefile	4 Dec 2010 07:33:23 -0000	1.143
+++ Makefile	31 Dec 2010 18:07:45 -0000
@@ -88,6 +88,7 @@
 .if defined(WITH_MYSQL)
 USE_MYSQL=	yes
 CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}
+LDFLAGS+=	-L${LOCALBASE}/lib
 .else
 CONFIGURE_ARGS+=--without-mysql
 .endif
@@ -184,6 +185,8 @@
 CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
 .endif
 
+CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"
+
 SASLAUTHD_RUNPATH?=	/var/run/saslauthd
 
 CYRUS_USER?=	cyrus
--- cyrus-sasl-2.1.23_1.patch ends here ---

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



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