/[gentoo-x86]/net-libs/courier-authlib/courier-authlib-0.60.2.ebuild
Gentoo

Diff of /net-libs/courier-authlib/courier-authlib-0.60.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/Attic/courier-authlib-0.60.2.ebuild,v 1.1 2008/04/15 09:05:12 hanno Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-libs/courier-authlib/Attic/courier-authlib-0.60.2.ebuild,v 1.2 2008/04/20 12:09:01 vapier Exp $
4
5WANT_AUTOCONF="latest"
6WANT_AUTOMAKE="latest"
7 4
8inherit eutils flag-o-matic autotools 5inherit eutils flag-o-matic autotools
9 6
10KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" 7KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
11 8
41 38
42src_unpack() { 39src_unpack() {
43 unpack ${A} 40 unpack ${A}
44 cd "${S}" 41 cd "${S}"
45 42
46 if use elibc_uclibc ; then
47 sed -i -e 's:linux-gnu\*:linux-gnu\*\ \|\ linux-uclibc:' config.sub || die "sed failed"
48 fi
49
50 if ! use gdbm ; then 43 if ! use gdbm ; then
51 epatch "${FILESDIR}/0.59.2-configure-db4.patch" 44 epatch "${FILESDIR}/0.59.2-configure-db4.patch"
52 else 45 else
53 epatch "${FILESDIR}/0.59.2-remove-obsolete-macro.patch" 46 epatch "${FILESDIR}/0.59.2-remove-obsolete-macro.patch"
54 fi 47 fi
57 sed -i -e'/for dir in/a@@INDENT@@/etc/courier-imap \\' authmigrate.in || die "sed failed" 50 sed -i -e'/for dir in/a@@INDENT@@/etc/courier-imap \\' authmigrate.in || die "sed failed"
58 sed -i -e'/for dir in/a@@INDENT@@/etc/courier/authlib \\' authmigrate.in || die "sed failed" 51 sed -i -e'/for dir in/a@@INDENT@@/etc/courier/authlib \\' authmigrate.in || die "sed failed"
59 sed -i -e"s|@@INDENT@@| |g" authmigrate.in || die "sed failed" 52 sed -i -e"s|@@INDENT@@| |g" authmigrate.in || die "sed failed"
60 sed -i -e"s|\$sbindir/makeuserdb||g" authmigrate.in || die "sed failed" 53 sed -i -e"s|\$sbindir/makeuserdb||g" authmigrate.in || die "sed failed"
61 54
62 eautoreconf || die "eautoreconf failed" 55 local d
56 for d in $(find -name configure.in) ; do
57 [[ ${d} == */libltdl/* ]] && continue
58 cd "${S}"/${d%configure.in}
59 eautoreconf
60 done
63} 61}
64 62
65src_compile() { 63src_compile() {
66 filter-flags -fomit-frame-pointer 64 filter-flags -fomit-frame-pointer
67 65

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20