New fixes for ezmlm-idx -- should be quite good now.
authorDaniel Robbins <drobbins@gentoo.org>
Sun, 3 Nov 2002 03:01:33 +0000 (03:01 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Sun, 3 Nov 2002 03:01:33 +0000 (03:01 +0000)
net-mail/ezmlm-idx/ChangeLog
net-mail/ezmlm-idx/ezmlm-idx-0.40-r1.ebuild [moved from net-mail/ezmlm-idx/ezmlm-idx-0.40.ebuild with 79% similarity]
net-mail/ezmlm-idx/files/digest-ezmlm-idx-0.40-r1 [moved from net-mail/ezmlm-idx/files/digest-ezmlm-idx-0.40 with 100% similarity]

index b457c476a0617153a6fa0c433fe6691dcbec60b8..a9d161c8f884a5dc282ea6324b310e4a82f93da5 100644 (file)
@@ -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 <drobbins@gentoo.org>: Build fixes; rc files
+  now in /etc/ezmlm, and hard-coded ${D} paths removed from binaries.
 
 *ezmlm-idx-0.40 (16 Oct 2002)
 
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 0e33ef62b715b3952acc96e8740e67b93da2a0d9..b5ede694ecae5f13ae8a6466ed38ce3e6b9251ab 100644 (file)
@@ -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
 }