summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-03 16:09:22 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-03 16:09:22 +0000
commit25537a3cf497895c11d1a41348538b450cbe379b (patch)
treef33830719018292fe63c6507449c5a75db439865 /net-mail/dot-forward
parentcleanup (diff)
downloadhistorical-25537a3cf497895c11d1a41348538b450cbe379b.tar.gz
historical-25537a3cf497895c11d1a41348538b450cbe379b.tar.bz2
historical-25537a3cf497895c11d1a41348538b450cbe379b.zip
head -1 patch
Diffstat (limited to 'net-mail/dot-forward')
-rw-r--r--net-mail/dot-forward/ChangeLog5
-rw-r--r--net-mail/dot-forward/dot-forward-0.71-r1.ebuild15
-rw-r--r--net-mail/dot-forward/files/0.71-head-1.patch22
3 files changed, 34 insertions, 8 deletions
diff --git a/net-mail/dot-forward/ChangeLog b/net-mail/dot-forward/ChangeLog
index b155563f18a1..28c100f8a640 100644
--- a/net-mail/dot-forward/ChangeLog
+++ b/net-mail/dot-forward/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-mail/dot-forward
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dot-forward/ChangeLog,v 1.6 2003/03/16 23:13:16 wwoods Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dot-forward/ChangeLog,v 1.7 2003/09/03 16:05:32 vapier Exp $
*dot-forward-0.71-r1 (05 Mar 2003)
+ 03 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add head -1 patch.
+
16 Mar 2003; Will Woods <wwoods@gentoo.org> dot-forward-0.71-r1.ebuild:
Added alpha to KEYWORDS
diff --git a/net-mail/dot-forward/dot-forward-0.71-r1.ebuild b/net-mail/dot-forward/dot-forward-0.71-r1.ebuild
index b8c20dd941f0..6d167bcc68c9 100644
--- a/net-mail/dot-forward/dot-forward-0.71-r1.ebuild
+++ b/net-mail/dot-forward/dot-forward-0.71-r1.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dot-forward/dot-forward-0.71-r1.ebuild,v 1.2 2003/03/16 23:13:16 wwoods Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dot-forward/dot-forward-0.71-r1.ebuild,v 1.3 2003/09/03 16:05:32 vapier Exp $
-inherit eutils
+inherit eutils gcc
DESCRIPTION="reads sendmail's .forward files under qmail"
HOMEPAGE="http://cr.yp.to/dot-forward.html"
SRC_URI="http://cr.yp.to/software/${P}.tar.gz"
-SLOT="0"
LICENSE="as-is"
+SLOT="0"
KEYWORDS="x86 ppc sparc alpha"
DEPEND="virtual/glibc
@@ -19,20 +19,21 @@ src_unpack() {
unpack ${P}.tar.gz
cd ${S}
epatch ${FILESDIR}/${PV}-errno.patch
+ epatch ${FILESDIR}/${PV}-head-1.patch
- echo "gcc ${CFLAGS}" > conf-cc
- echo "gcc" > conf-ld
+ echo "$(gcc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(gcc-getCC)" > conf-ld
}
src_compile() {
emake it || die
}
-src_install() {
+src_install() {
dodoc BLURB CHANGES FILES INSTALL README SYSDEPS TARGETS THANKS
dodoc TODO VERSION
doman *.1
-
+
insopts -o root -g qmail -m 755
insinto /var/qmail/bin
doins dot-forward
diff --git a/net-mail/dot-forward/files/0.71-head-1.patch b/net-mail/dot-forward/files/0.71-head-1.patch
new file mode 100644
index 000000000000..8becc0297263
--- /dev/null
+++ b/net-mail/dot-forward/files/0.71-head-1.patch
@@ -0,0 +1,22 @@
+--- Makefile.orig 2003-09-03 12:02:43.275729368 -0400
++++ Makefile 2003-09-03 12:02:52.751288864 -0400
+@@ -19,8 +19,8 @@
+ auto-ccld.sh: \
+ conf-cc conf-ld warn-auto.sh
+ ( cat warn-auto.sh; \
+- echo CC=\'`head -1 conf-cc`\'; \
+- echo LD=\'`head -1 conf-ld`\' \
++ echo CC=\'`head -n 1 conf-cc`\'; \
++ echo LD=\'`head -n 1 conf-ld`\' \
+ ) > auto-ccld.sh
+
+ auto-str: \
+@@ -33,7 +33,7 @@
+
+ auto_qmail.c: \
+ auto-str conf-qmail
+- ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
++ ./auto-str auto_qmail `head -n 1 conf-qmail` > auto_qmail.c
+
+ auto_qmail.o: \
+ compile auto_qmail.c