summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-26 01:43:14 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-26 01:43:14 +0000
commit9dd8e66ef4f5e3e7279e5ded03f09bc8476de9b4 (patch)
tree348f33d722bcad8e0d3ec5c21f201a9fb7cad77f /net-mail/qmailadmin
parentStable for HPPA (bug #343977). (diff)
downloadgentoo-2-9dd8e66ef4f5e3e7279e5ded03f09bc8476de9b4.tar.gz
gentoo-2-9dd8e66ef4f5e3e7279e5ded03f09bc8476de9b4.tar.bz2
gentoo-2-9dd8e66ef4f5e3e7279e5ded03f09bc8476de9b4.zip
Bug #292546: Ensure correct build with vpopmail-mysql.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/qmailadmin')
-rw-r--r--net-mail/qmailadmin/ChangeLog5
-rw-r--r--net-mail/qmailadmin/qmailadmin-1.2.15.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/net-mail/qmailadmin/ChangeLog b/net-mail/qmailadmin/ChangeLog
index ff25262020ae..1b99b34b5b45 100644
--- a/net-mail/qmailadmin/ChangeLog
+++ b/net-mail/qmailadmin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/qmailadmin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.22 2011/01/26 01:31:19 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.23 2011/01/26 01:43:14 robbat2 Exp $
+
+ 26 Jan 2011; Robin H. Johnson <robbat2@gentoo.org> qmailadmin-1.2.15.ebuild:
+ Bug #292546: Ensure correct build with vpopmail-mysql.
*qmailadmin-1.2.15 (26 Jan 2011)
diff --git a/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild
index d7d7babcc9f9..3469eba8988c 100644
--- a/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild
+++ b/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild,v 1.1 2011/01/26 01:31:19 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild,v 1.2 2011/01/26 01:43:14 robbat2 Exp $
inherit qmail eutils webapp
@@ -41,6 +41,9 @@ src_compile() {
else
set --
fi
+ # If vpopmail is built with mysql, we need to pick that up.
+ CFLAGS="${CFLAGS} $(</var/vpopmail/etc/inc_deps)"
+ LDFLAGS="${LDFLAGS} $(</var/vpopmail/etc/lib_deps)"
econf \
--enable-valias \
@@ -64,6 +67,8 @@ src_compile() {
--enable-maxaliasesperpage=50 \
--enable-vpopuser=vpopmail \
--enable-vpopgroup=vpopmail \
+ LDFLAGS="${LDFLAGS}" \
+ CFLAGS="${CFLAGS}" \
"$@" \
|| die "econf failed"