summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-03-01 08:46:05 +0000
committerAlin Năstac <mrness@gentoo.org>2009-03-01 08:46:05 +0000
commit7d95bfc2b5abf4cc59f10cfa2a54f07319243ba5 (patch)
tree2bfdfa50265d7a1232803ddf28755f6a3ab30850
parentVersion bump. Fixes bug #246406 2.6 (deprecation warnings). Thanks to Christi... (diff)
downloadgentoo-2-7d95bfc2b5abf4cc59f10cfa2a54f07319243ba5.tar.gz
gentoo-2-7d95bfc2b5abf4cc59f10cfa2a54f07319243ba5.tar.bz2
gentoo-2-7d95bfc2b5abf4cc59f10cfa2a54f07319243ba5.zip
Add ipv6 USE flag.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
-rw-r--r--mail-filter/sid-milter/ChangeLog8
-rw-r--r--mail-filter/sid-milter/files/gentoo-config.m44
-rw-r--r--mail-filter/sid-milter/sid-milter-1.0.0-r1.ebuild (renamed from mail-filter/sid-milter/sid-milter-1.0.0.ebuild)9
3 files changed, 17 insertions, 4 deletions
diff --git a/mail-filter/sid-milter/ChangeLog b/mail-filter/sid-milter/ChangeLog
index 8dc694ed53f9..c86342de66ea 100644
--- a/mail-filter/sid-milter/ChangeLog
+++ b/mail-filter/sid-milter/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/sid-milter
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.8 2009/02/28 15:13:52 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.9 2009/03/01 08:46:05 mrness Exp $
+
+*sid-milter-1.0.0-r1 (01 Mar 2009)
+
+ 01 Mar 2009; Alin Năstac <mrness@gentoo.org> +files/gentoo-config.m4,
+ -sid-milter-1.0.0.ebuild, +sid-milter-1.0.0-r1.ebuild:
+ Add ipv6 USE flag.
*sid-milter-1.0.0 (28 Feb 2009)
diff --git a/mail-filter/sid-milter/files/gentoo-config.m4 b/mail-filter/sid-milter/files/gentoo-config.m4
new file mode 100644
index 000000000000..3b1e94ec44b7
--- /dev/null
+++ b/mail-filter/sid-milter/files/gentoo-config.m4
@@ -0,0 +1,4 @@
+define(`confNO_MAN_BUILD',`')
+define(`confOPTIMIZE', `@@CFLAGS@@')
+define(`confENVDEF', `@@ENVDEF@@')
+define(`bld_USE_ARLIB', `true')
diff --git a/mail-filter/sid-milter/sid-milter-1.0.0.ebuild b/mail-filter/sid-milter/sid-milter-1.0.0-r1.ebuild
index 9d71c328314f..f8b1c4fd00a5 100644
--- a/mail-filter/sid-milter/sid-milter-1.0.0.ebuild
+++ b/mail-filter/sid-milter/sid-milter-1.0.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/sid-milter-1.0.0.ebuild,v 1.1 2009/02/28 15:13:52 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/sid-milter-1.0.0-r1.ebuild,v 1.1 2009/03/01 08:46:05 mrness Exp $
inherit eutils toolchain-funcs
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/sid-milter/${P}.tar.gz"
LICENSE="Sendmail-Open-Source"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="ipv6"
RDEPEND="dev-libs/openssl
>=sys-libs/db-3.2"
@@ -28,8 +28,11 @@ src_unpack() {
cd "${S}" || die "source dir not found"
+ local ENVDEF=""
+ use ipv6 && ENVDEF="${ENVDEF} -DNETINET6"
sed -e "s:@@CFLAGS@@:${CFLAGS}:" \
- "${FILESDIR}/gentoo.config.m4" > "${S}/devtools/Site/site.config.m4" \
+ -e "s:@@ENVDEF@@:${ENVDEF}:" \
+ "${FILESDIR}/gentoo-config.m4" > "${S}/devtools/Site/site.config.m4" \
|| die "failed to generate site.config.m4"
}