Subject: Re: pkg/29777: Error building courier-authlib with option mysql
To: None <jlam@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Timshel Knoll-Miller <timshel@shels.net>
List: pkgsrc-bugs
Date: 04/16/2005 11:01:02
The following reply was made to PR pkg/29777; it has been noted by GNATS.
From: Timshel Knoll-Miller <timshel@shels.net>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/29777: Error building courier-authlib with option mysql
Date: Sat, 16 Apr 2005 20:59:57 +1000
--=-nwSWjGbXGXx4yOKfM6ze
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
The attached patch against security/courier-authlib/patches/patch-aa
(pkgsrc-2005Q1 branch, but should apply to HEAD) should hopefully fix
the problem - works for me with PKG_OPTIONS.courier-authlib+=mysql.
Please try it and see.
Cheers,
Timshel
--
Timshel Knoll-Miller <timshel@shels.net>
http://www.shels.net/
--=-nwSWjGbXGXx4yOKfM6ze
Content-Disposition: attachment; filename=courier-authlib-build-fix.diff
Content-Type: text/x-patch; name=courier-authlib-build-fix.diff; charset=UTF-8
Content-Transfer-Encoding: 7bit
diff -urN security/courier-authlib/patches/patch-aa security/courier-authlib.orig/patches/patch-aa
--- security/courier-authlib/patches/patch-aa Sat Apr 16 20:42:09 2005
+++ security/courier-authlib.orig/patches/patch-aa Sat Apr 16 20:48:50 2005
@@ -1,16 +1,7 @@
$NetBSD: patch-aa,v 1.1.1.1 2005/02/10 03:21:31 jlam Exp $
---- Makefile.in.orig Sun Feb 13 11:26:32 2005
+--- Makefile.in.orig 2005-01-11 21:42:54.000000000 -0500
+++ Makefile.in
-@@ -544,7 +544,7 @@ libauthmysql_t = @MYSQL_LIBS@ @LIBM@ @NE
- libauthmysql_la_SOURCES = authmysql.c preauthmysql.c authmysqllib.c authmysql.h
- libauthmysql_la_DEPENDENCIES = $(commonlibdep)
- libauthmysql_la_LIBADD = $(commonlibadd)
--libauthmysql_la_LDFLAGS = $(commonldflags) $(libauthmysql_t:%=-Wl,%)
-+libauthmysql_la_LDFLAGS = $(commonldflags) $(libauthmysql_t)
-
- # The authcustom module
- libauthcustom_la_SOURCES = authcustom.c preauthcustom.c authcustom.h
@@ -608,8 +608,8 @@ authdaemondprog_SOURCES = authdaemond.c
authdaemondprog_DEPENDENCIES = libcourierauthcommon.la \
liblock/liblock.la $(modules)
--=-nwSWjGbXGXx4yOKfM6ze--