summaryrefslogtreecommitdiff
path: root/mail/yatsvrs/patches
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-01-08 09:39:56 +0000
committertaca <taca@pkgsrc.org>2005-01-08 09:39:56 +0000
commitac04748d70a9bb30a3b53f5c601ce6f5e86f8c48 (patch)
treec8b2b7d19685ab80e684a53bfb85b3dacd0aa1cf /mail/yatsvrs/patches
parentf6a540cad4ff243734638932c260c2d29ce1940b (diff)
downloadpkgsrc-ac04748d70a9bb30a3b53f5c601ce6f5e86f8c48.tar.gz
Move gcc specific options to configure script; address to pkg PR/28900.
And care for sendmail path for IRIX though IRIX has never tested yatsvrs to work. Bump PKGREVISION.
Diffstat (limited to 'mail/yatsvrs/patches')
-rw-r--r--mail/yatsvrs/patches/patch-ab17
-rw-r--r--mail/yatsvrs/patches/patch-ai17
-rw-r--r--mail/yatsvrs/patches/patch-aq17
-rw-r--r--mail/yatsvrs/patches/patch-bn17
4 files changed, 54 insertions, 14 deletions
diff --git a/mail/yatsvrs/patches/patch-ab b/mail/yatsvrs/patches/patch-ab
index 57e16f32d5c..feb8e81d5ab 100644
--- a/mail/yatsvrs/patches/patch-ab
+++ b/mail/yatsvrs/patches/patch-ab
@@ -1,8 +1,17 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
+$NetBSD: patch-ab,v 1.2 2005/01/08 09:39:57 taca Exp $
---- ascyd/Makefile.in.orig Mon Jul 9 18:19:12 2001
+--- ascyd/Makefile.in.orig 2001-12-20 21:31:52.000000000 +0900
+++ ascyd/Makefile.in
-@@ -125,18 +125,18 @@
+@@ -68,7 +68,7 @@ VERSION = @VERSION@
+ YAT5SYSDIR = @YAT5SYSDIR@
+ YATSYSDIROLD = @YATSYSDIROLD@
+
+-AM_CPPFLAGS = -I../common -DYATSYSDIROLD=\"@YATSYSDIROLD@\" -DYAT5SYSDIR=\"$(YAT5SYSDIR)\" -Wall -Wstrict-prototypes # -Werror
++AM_CPPFLAGS = -I../common -DYATSYSDIROLD=\"@YATSYSDIROLD@\" -DYAT5SYSDIR=\"$(YAT5SYSDIR)\"
+
+ sbin_PROGRAMS = ascyd
+ ascyd_SOURCES = apop.c ascy.h entry.c error.c etc.c greeting.c init.c lock.c message.c msg2cmd.c newpass.c newsecret.c pass.c prototype.h quit.c sighand.c user.c ver.c version.h
+@@ -125,18 +125,18 @@ maintainer-clean-sbinPROGRAMS:
install-sbinPROGRAMS: $(sbin_PROGRAMS)
@$(NORMAL_INSTALL)
@@ -25,7 +34,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
done
.c.o:
-@@ -263,7 +263,7 @@
+@@ -263,7 +263,7 @@ all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
diff --git a/mail/yatsvrs/patches/patch-ai b/mail/yatsvrs/patches/patch-ai
index 75526d0cfbb..d9b67e5b750 100644
--- a/mail/yatsvrs/patches/patch-ai
+++ b/mail/yatsvrs/patches/patch-ai
@@ -1,8 +1,17 @@
-$NetBSD: patch-ai,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
+$NetBSD: patch-ai,v 1.2 2005/01/08 09:39:57 taca Exp $
---- yatconfd/Makefile.in.orig Mon Jul 9 18:19:11 2001
+--- yatconfd/Makefile.in.orig 2001-12-20 21:31:51.000000000 +0900
+++ yatconfd/Makefile.in
-@@ -127,18 +127,18 @@
+@@ -68,7 +68,7 @@ VERSION = @VERSION@
+ YAT5SYSDIR = @YAT5SYSDIR@
+ YATSYSDIROLD = @YATSYSDIROLD@
+
+-AM_CPPFLAGS = -I../common -DYATSYSDIROLD=\"@YATSYSDIROLD@\" -DYAT5SYSDIR=\"$(YAT5SYSDIR)\" -Wall -Wstrict-prototypes
++AM_CPPFLAGS = -I../common -DYATSYSDIROLD=\"@YATSYSDIROLD@\" -DYAT5SYSDIR=\"$(YAT5SYSDIR)\"
+
+
+ sbin_PROGRAMS = yatconfd
+@@ -127,18 +127,18 @@ maintainer-clean-sbinPROGRAMS:
install-sbinPROGRAMS: $(sbin_PROGRAMS)
@$(NORMAL_INSTALL)
@@ -25,7 +34,7 @@ $NetBSD: patch-ai,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
done
.c.o:
-@@ -268,7 +268,7 @@
+@@ -268,7 +268,7 @@ all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
diff --git a/mail/yatsvrs/patches/patch-aq b/mail/yatsvrs/patches/patch-aq
index c3588db9b0e..54a3413da0e 100644
--- a/mail/yatsvrs/patches/patch-aq
+++ b/mail/yatsvrs/patches/patch-aq
@@ -1,8 +1,17 @@
-$NetBSD: patch-aq,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
+$NetBSD: patch-aq,v 1.2 2005/01/08 09:39:57 taca Exp $
---- yatd/Makefile.in.orig Mon Jul 9 18:19:10 2001
+--- yatd/Makefile.in.orig 2001-12-20 21:31:51.000000000 +0900
+++ yatd/Makefile.in
-@@ -132,18 +132,18 @@
+@@ -68,7 +68,7 @@ VERSION = @VERSION@
+ YAT5SYSDIR = @YAT5SYSDIR@
+ YATSYSDIROLD = @YATSYSDIROLD@
+
+-AM_CPPFLAGS = -I../common -DYATSYSDIROLD=\"@YATSYSDIROLD@\" -DYAT5SYSDIR=\"$(YAT5SYSDIR)\" -Wall -Wstrict-prototypes # -Werror
++AM_CPPFLAGS = -I../common -DYATSYSDIROLD=\"@YATSYSDIROLD@\" -DYAT5SYSDIR=\"$(YAT5SYSDIR)\"
+
+
+ sbin_PROGRAMS = yatd
+@@ -132,18 +132,18 @@ maintainer-clean-sbinPROGRAMS:
install-sbinPROGRAMS: $(sbin_PROGRAMS)
@$(NORMAL_INSTALL)
@@ -25,7 +34,7 @@ $NetBSD: patch-aq,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
done
.c.o:
-@@ -371,7 +371,7 @@
+@@ -371,7 +371,7 @@ all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
diff --git a/mail/yatsvrs/patches/patch-bn b/mail/yatsvrs/patches/patch-bn
index d39fe956943..085a83967b4 100644
--- a/mail/yatsvrs/patches/patch-bn
+++ b/mail/yatsvrs/patches/patch-bn
@@ -1,13 +1,26 @@
-$NetBSD: patch-bn,v 1.1 2004/12/15 13:18:02 taca Exp $
+$NetBSD: patch-bn,v 1.2 2005/01/08 09:39:57 taca Exp $
--- configure.orig 2001-12-20 16:23:50.000000000 +0900
+++ configure
+@@ -1016,9 +1016,9 @@ else
+ CFLAGS=
+ fi
+ fi
+-
+-
+-
++if test $ac_cv_prog_gcc = yes; then
++ CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
++fi
+
+ echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
+ echo "configure:1025: checking for ${CC-cc} option to accept ANSI C" >&5
@@ -3929,6 +3929,10 @@ test -n "$MAIL_COMMAND" && break
done
test -n "$MAIL_COMMAND" || MAIL_COMMAND="no"
+ case "${OPSYS}" in
-+ SunOS) MAIL_COMMAND="/usr/lib/sendmail";;
++ IRIX|SunOS) MAIL_COMMAND="/usr/lib/sendmail";;
+ *) MAIL_COMMAND="/usr/sbin/sendmail";;
+ esac
if test "$MAIL_COMMAND" = "no" ; then