summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ser/ser-0.9.4.ebuild')
-rw-r--r--net-misc/ser/ser-0.9.4.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-misc/ser/ser-0.9.4.ebuild b/net-misc/ser/ser-0.9.4.ebuild
index 6d092e9c59c1..3948441e9a42 100644
--- a/net-misc/ser/ser-0.9.4.ebuild
+++ b/net-misc/ser/ser-0.9.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ser-0.9.4.ebuild,v 1.5 2006/11/23 20:38:59 vivo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ser/ser-0.9.4.ebuild,v 1.6 2007/04/14 10:35:54 genstef Exp $
inherit eutils flag-o-matic
@@ -95,6 +95,11 @@ src_unpack() {
fi
done
+ if use mysql || use postgres; then
+ sed -i -e "s:^#DEFS+=-DSQL_ACC$:DEFS+=-DSQL_ACC:" \
+ ${S}/modules/acc/Makefile
+ fi
+
# remove sasl if openldap hasn't been built with it
if use ldap && ! built_with_use net-nds/openldap sasl; then
sed -i -e "s:-lsasl::g" \