From a536c92451df6abdd5bdb2b5ffa4a317639852e9 Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Sun, 3 Nov 2002 03:01:33 +0000 Subject: [PATCH] New fixes for ezmlm-idx -- should be quite good now. --- net-mail/ezmlm-idx/ChangeLog | 7 ++++++- ...x-0.40.ebuild => ezmlm-idx-0.40-r1.ebuild} | 19 +++++++++++-------- ...zmlm-idx-0.40 => digest-ezmlm-idx-0.40-r1} | 0 3 files changed, 17 insertions(+), 9 deletions(-) rename net-mail/ezmlm-idx/{ezmlm-idx-0.40.ebuild => ezmlm-idx-0.40-r1.ebuild} (79%) rename net-mail/ezmlm-idx/files/{digest-ezmlm-idx-0.40 => digest-ezmlm-idx-0.40-r1} (100%) diff --git a/net-mail/ezmlm-idx/ChangeLog b/net-mail/ezmlm-idx/ChangeLog index b457c476a061..a9d161c8f884 100644 --- a/net-mail/ezmlm-idx/ChangeLog +++ b/net-mail/ezmlm-idx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-mail/ezmlm-idx # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v 1.1 2002/10/16 20:50:41 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v 1.2 2002/11/03 03:01:33 drobbins Exp $ + +*ezmlm-idx-0.40-r1 (02 Nov 2002) + + 02 Nov 2002; Daniel Robbins : Build fixes; rc files + now in /etc/ezmlm, and hard-coded ${D} paths removed from binaries. *ezmlm-idx-0.40 (16 Oct 2002) diff --git a/net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-0.40-r1.ebuild similarity index 79% rename from net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild rename to net-mail/ezmlm-idx/ezmlm-idx-0.40-r1.ebuild index 0e33ef62b715..b5ede694ecae 100644 --- a/net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild +++ b/net-mail/ezmlm-idx/ezmlm-idx-0.40-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild,v 1.3 2002/10/16 21:18:15 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-0.40-r1.ebuild,v 1.1 2002/11/03 03:01:33 drobbins Exp $ # NOTE: ezmlm-idx, ezmlm-idx-mysql and ezmlm-idx-pgsql all supported by this single ebuild # (Please keep them in sync) @@ -37,14 +37,18 @@ src_unpack() { #remove cat-man pages cp MAN MAN.orig cat MAN.orig | grep -v cat > MAN -} - -src_compile() { - cd ${S} echo "/usr/bin" > conf-bin echo "/usr/share/man" > conf-man echo "gcc ${CFLAGS}" > conf-cc echo "gcc" > conf-ld + #tweak the install to go to ${D} + cp Makefile Makefile.orig + sed -e "s:/install.*conf-bin\`\":/install ${D}usr/bin:" \ + -e "s:/install.*conf-man\`\":/install ${D}usr/share/man:" Makefile.orig > Makefile +} + +src_compile() { + cd ${S} if [ "$PN" = "${PB}-pgsql" ] then make pgsql @@ -56,8 +60,7 @@ src_compile() { } src_install () { - install -d ${D}/usr/bin ${D}/usr/share/man - echo "${D}/usr/bin" > conf-bin - echo "${D}/usr/share/man" > conf-man + install -d ${D}/usr/bin ${D}/usr/share/man ${D}/etc/ezmlm make setup || die + mv ${D}/usr/bin/ez*rc ${D}/etc/ezmlm } diff --git a/net-mail/ezmlm-idx/files/digest-ezmlm-idx-0.40 b/net-mail/ezmlm-idx/files/digest-ezmlm-idx-0.40-r1 similarity index 100% rename from net-mail/ezmlm-idx/files/digest-ezmlm-idx-0.40 rename to net-mail/ezmlm-idx/files/digest-ezmlm-idx-0.40-r1 -- 2.26.2