diff options
Diffstat (limited to 'net-mail/qmailadmin/qmailadmin-1.2.15.ebuild')
-rw-r--r-- | net-mail/qmailadmin/qmailadmin-1.2.15.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
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" |