summaryrefslogtreecommitdiff
path: root/www/ap-auth-mysql
diff options
context:
space:
mode:
authorben <ben>2006-05-16 02:35:37 +0000
committerben <ben>2006-05-16 02:35:37 +0000
commit1eec3c371da2bd62b693300791efef1c7e72f9b2 (patch)
tree0923f790829fe8c95e891405db58dcfadc607db3 /www/ap-auth-mysql
parent279d958e8111487f51d0619bff0cfa07995fad1c (diff)
downloadpkgsrc-1eec3c371da2bd62b693300791efef1c7e72f9b2.tar.gz
Add linker search path for mysql library.
Bump pkgrevision. Reported by Jaromir Dolecek.
Diffstat (limited to 'www/ap-auth-mysql')
-rw-r--r--www/ap-auth-mysql/Makefile11
-rw-r--r--www/ap-auth-mysql/distinfo3
-rw-r--r--www/ap-auth-mysql/patches/patch-ae13
3 files changed, 19 insertions, 8 deletions
diff --git a/www/ap-auth-mysql/Makefile b/www/ap-auth-mysql/Makefile
index 661841258ea..bca7340be64 100644
--- a/www/ap-auth-mysql/Makefile
+++ b/www/ap-auth-mysql/Makefile
@@ -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
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 --git a/www/ap-auth-mysql/distinfo b/www/ap-auth-mysql/distinfo
index 11138fed91b..631528ae46c 100644
--- a/www/ap-auth-mysql/distinfo
+++ b/www/ap-auth-mysql/distinfo
@@ -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-aa) = c18f857317b5838c955ddfea501961e0e2a88e76
SHA1 (patch-ab) = 343dafbcfb62366b7cdaf154da774d3f7a417242
SHA1 (patch-ac) = 1ec37362ec8e3e7298580a904063d6bb67d7a97a
SHA1 (patch-ad) = 712d2efa8f53cc92ad5785e2aedc629de2699b72
+SHA1 (patch-ae) = 2e5569026965558d9490d3a8face857f5d611b1b
diff --git a/www/ap-auth-mysql/patches/patch-ae b/www/ap-auth-mysql/patches/patch-ae
new file mode 100644
index 00000000000..cd7ea3f484d
--- /dev/null
+++ b/www/ap-auth-mysql/patches/patch-ae
@@ -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)