pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap-auth-mysql Add linker search path for mysql lib...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea5c0b063861
branches:  trunk
changeset: 512821:ea5c0b063861
user:      ben <ben%pkgsrc.org@localhost>
date:      Tue May 16 02:35:37 2006 +0000

description:
Add linker search path for mysql library.
Bump pkgrevision.
Reported by Jaromir Dolecek.

diffstat:

 www/ap-auth-mysql/Makefile         |  11 ++++-------
 www/ap-auth-mysql/distinfo         |   3 ++-
 www/ap-auth-mysql/patches/patch-ae |  13 +++++++++++++
 3 files changed, 19 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r 7fdba6c8df2f -r ea5c0b063861 www/ap-auth-mysql/Makefile
--- a/www/ap-auth-mysql/Makefile        Mon May 15 23:39:49 2006 +0000
+++ b/www/ap-auth-mysql/Makefile        Tue May 16 02:35:37 2006 +0000
@@ -1,26 +1,23 @@
-# $NetBSD: Makefile,v 1.15 2006/03/04 21:30:56 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2006/05/16 02:35:37 ben Exp $
 #
 
 DISTNAME=              libapache-mod-auth-mysql_4.3.1
 PKGNAME=               ${DISTNAME:S/libapache-mod/ap/:S/_/-/}
-PKGREVISION=           4
+PKGREVISION=           5
 WRKSRC=                        ${WRKDIR}/${DISTNAME:S/_/-/}
 CATEGORIES=            www databases security
 MASTER_SITES=          ${MASTER_SITE_DEBIAN:=pool/main/liba/libapache-mod-auth-mysql/}
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://packages.debian.org/unstable/web/libapache-mod-auth-mysql.html
-COMMENT=               Apache (${PKG_APACHE}) module to allow authentication against a MySQL database
+COMMENT=               Module to allow apache authentication against a MySQL database
 
 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
 
 CONFIGURE_ARGS+=       --with-mysql-includes=${BUILDLINK_PREFIX.mysql-client}/include/mysql    \
                        --with-mysql-libs=${BUILDLINK_PREFIX.mysql-client}/lib/mysql
-CPPFLAGS+=             -I${BUILDLINK_PREFIX.mysql-client}/include/mysql
-LDFLAGS+=              -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql    \
-                       -lmysqlclient                                   \
-                       ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysql
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mysql
 
 .include "../../mk/apache.mk"
 
diff -r 7fdba6c8df2f -r ea5c0b063861 www/ap-auth-mysql/distinfo
--- a/www/ap-auth-mysql/distinfo        Mon May 15 23:39:49 2006 +0000
+++ b/www/ap-auth-mysql/distinfo        Tue May 16 02:35:37 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/02/23 01:21:55 ben Exp $
+$NetBSD: distinfo,v 1.5 2006/05/16 02:35:37 ben Exp $
 
 SHA1 (libapache-mod-auth-mysql_4.3.1.tar.gz) = c5563028ed6574fd087944ac0507009dfc14b749
 RMD160 (libapache-mod-auth-mysql_4.3.1.tar.gz) = d64278aa11030369071f586ff2ef60becf43c062
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 343dafbcfb62366b7cdaf154da774d3f7a417242
 SHA1 (patch-ac) = 1ec37362ec8e3e7298580a904063d6bb67d7a97a
 SHA1 (patch-ad) = 712d2efa8f53cc92ad5785e2aedc629de2699b72
+SHA1 (patch-ae) = 2e5569026965558d9490d3a8face857f5d611b1b
diff -r 7fdba6c8df2f -r ea5c0b063861 www/ap-auth-mysql/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap-auth-mysql/patches/patch-ae        Tue May 16 02:35:37 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2006/05/16 02:35:37 ben Exp $
+
+--- Makefile.in.orig   2004-05-11 04:26:01.000000000 +0000
++++ Makefile.in
+@@ -4,7 +4,7 @@ APXS2  = @apxs2@
+ APXS2FLAGS =
+ SRCS  = mod_auth_mysql.c
+ HDRS  = config.h
+-OPTS  = @build_opts@ -lmysqlclient
++OPTS  = @build_opts@ -lmysqlclient @LDFLAGS@
+ MODULES = @modules@
+ 
+ all: $(MODULES)



Home | Main Index | Thread Index | Old Index