summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-27 12:11:44 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-27 12:11:44 +0000
commit6b71526a8f2cb06b6da53ccd78967dd7a833128f (patch)
treee78445248ea5213f0613f8b12b4ef9acc1233739 /sys-apps/at
parentvarious fixes (diff)
downloadgentoo-2-6b71526a8f2cb06b6da53ccd78967dd7a833128f.tar.gz
gentoo-2-6b71526a8f2cb06b6da53ccd78967dd7a833128f.tar.bz2
gentoo-2-6b71526a8f2cb06b6da53ccd78967dd7a833128f.zip
*** empty log message ***
Diffstat (limited to 'sys-apps/at')
-rw-r--r--sys-apps/at/at-3.1.8-r2.ebuild6
-rw-r--r--sys-apps/at/files/at-3.1.8-configure.in-sendmail-gentoo.diff23
2 files changed, 27 insertions, 2 deletions
diff --git a/sys-apps/at/at-3.1.8-r2.ebuild b/sys-apps/at/at-3.1.8-r2.ebuild
index f363889500c7..0e8b95eaea6f 100644
--- a/sys-apps/at/at-3.1.8-r2.ebuild
+++ b/sys-apps/at/at-3.1.8-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/at-3.1.8-r2.ebuild,v 1.1 2001/02/07 15:51:27 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/at-3.1.8-r2.ebuild,v 1.2 2001/02/27 12:11:44 achim Exp $
A="${P}.tar.bz2 ${P}.dif"
S=${WORKDIR}/${P}
@@ -20,7 +20,9 @@ src_unpack() {
unpack ${P}.tar.bz2
cd ${S}
patch -p0 < ${DISTDIR}/${P}.dif
-
+ cp configure.in configure.orig
+ patch -p0 < ${FILESDIR}/${P}-configure.in-sendmail-gentoo.diff
+ autoconf
}
src_compile() {
diff --git a/sys-apps/at/files/at-3.1.8-configure.in-sendmail-gentoo.diff b/sys-apps/at/files/at-3.1.8-configure.in-sendmail-gentoo.diff
new file mode 100644
index 000000000000..e2ec93910b1a
--- /dev/null
+++ b/sys-apps/at/files/at-3.1.8-configure.in-sendmail-gentoo.diff
@@ -0,0 +1,23 @@
+--- configure.orig Tue Feb 27 14:08:13 2001
++++ configure.in Tue Feb 27 14:09:50 2001
+@@ -101,6 +101,9 @@
+ if test "$ac_cv_path_SENDMAIL" != "" ; then
+ AC_DEFINE_UNQUOTED(SENDMAIL,"$ac_cv_path_SENDMAIL")
+ MAIL_CMD="$ac_cv_path_SENDMAIL"
++else
++AC_DEFINE_UNQUOTED(SENDMAIL,"/usr/sbin/snedmail")
++MAIL_CMD="/usr/sbin/sendmail"
+ fi
+
+ AC_SUBST(MAIL_CMD)
+@@ -152,7 +155,9 @@
+ AC_DEFINE(SPOOLDIR, "/usr/spool/cron")
+ AC_MSG_RESULT(/usr/spool/cron)
+ else
+- AC_ERROR(Cannot determine value for spool directory)
++ sp=/var/spool/cron
++ AC_DEFINE(SPOOLDIR, "/var/spool/cron")
++ AC_MSG_RESULT(/var/spool/cron)
+ fi
+
+ AC_MSG_CHECKING(jobdir)