summaryrefslogtreecommitdiff
path: root/mail/nmh/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-11-19 13:55:05 +0000
committeragc <agc@pkgsrc.org>1997-11-19 13:55:05 +0000
commitef8099dd4206ce0fd9f61753829fccb19a098ef0 (patch)
treee4b529d62037f0823c5bf2073d41d2dfb64955ee /mail/nmh/patches
parentd368057967150951a24e75eee2a447c3fe84a539 (diff)
downloadpkgsrc-ef8099dd4206ce0fd9f61753829fccb19a098ef0.tar.gz
Initial import of nmh-0.17 from FreeBSD ports collection into NetBSD
packages collection.
Diffstat (limited to 'mail/nmh/patches')
-rw-r--r--mail/nmh/patches/patch-aa43
-rw-r--r--mail/nmh/patches/patch-ab13
-rw-r--r--mail/nmh/patches/patch-ac116
-rw-r--r--mail/nmh/patches/patch-ad47
-rw-r--r--mail/nmh/patches/patch-ba17
5 files changed, 236 insertions, 0 deletions
diff --git a/mail/nmh/patches/patch-aa b/mail/nmh/patches/patch-aa
new file mode 100644
index 00000000000..7a5cf945a71
--- /dev/null
+++ b/mail/nmh/patches/patch-aa
@@ -0,0 +1,43 @@
+diff -ur nmh-0.14-dist/acconfig.h nmh-0.14/acconfig.h
+--- acconfig.h-dist Wed Apr 16 21:25:42 1997
++++ acconfig.h Tue May 20 18:59:52 1997
+@@ -1,3 +1,9 @@
++/* Define if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
++
+
+ /****** BEGIN USER CONFIGURATION SECTION *****/
+
+@@ -37,9 +40,11 @@
+ * OpenBSD 2.x
+ * BSD/OS 2.x
+ */
+-/* #define BIND 1 */
+-/* #define BSD42 1 */
+-/* #define BSD44 1 */
++#ifdef BSD4_4
++#define BIND 1
++#define BSD42 1
++#define BSD44 1
++#endif
+
+ /*
+ * SCO 4.x
+@@ -72,10 +77,14 @@
+ * other programs which may modify your maildrops.
+ * Currently you can only use one type.
+ */
++#if defined(BSD44)
++#define FCNTL_LOCKING 1
++#else
+ #define DOT_LOCKING 1
+ /* #define FCNTL_LOCKING 1 */
+ /* #define LOCKF_LOCKING 1 */
+ /* #define FLOCK_LOCKING 1 */
++#endif
+
+ /*
+ * If you have defined DOT_LOCKING, then the default is to
diff --git a/mail/nmh/patches/patch-ab b/mail/nmh/patches/patch-ab
new file mode 100644
index 00000000000..96a2e2d662f
--- /dev/null
+++ b/mail/nmh/patches/patch-ab
@@ -0,0 +1,13 @@
+--- configure.in-dist Wed Jun 4 19:39:43 1997
++++ configure.in Sat Jun 21 10:13:11 1997
+@@ -424,8 +424,8 @@
+ [test -z "$CONFIG_HEADERS" || echo > stamp-h])
+
+ eval "nmhbin=${bindir}"; eval "nmhbin2=${nmhbin}"
+-eval "nmhetc=${etcdir}"; eval "nmhetc2=${nmhetc}"
+-eval "nmhlib=${libdir}"; eval "nmhlib2=${nmhlib}"
++eval "nmhetc=${sysconfdir}"; eval "nmhetc2=${nmhetc}"
++eval "nmhlib=${libexecdir}"; eval "nmhlib2=${nmhlib}"
+ eval "nmhman=${mandir}"
+
+ echo "
diff --git a/mail/nmh/patches/patch-ac b/mail/nmh/patches/patch-ac
new file mode 100644
index 00000000000..ec4cf7e830e
--- /dev/null
+++ b/mail/nmh/patches/patch-ac
@@ -0,0 +1,116 @@
+diff -ur Makefile.in-dist Makefile.in
+--- Makefile.in-dist Mon Apr 21 12:02:36 1997
++++ Makefile.in Mon May 12 20:54:23 1997
+@@ -26,10 +26,10 @@
+ bindir = @bindir@
+
+ # location of nmh configuration and formats files
+-etcdir = @etcdir@
++etcdir = @sysconfdir@
+
+ # location of support binaries and scripts
+-libdir = @libdir@
++libdir = @libexecdir@
+
+ # location of man pages
+ mandir = @mandir@
+diff -ur config/Makefile.in-dist config/Makefile.in
+--- config/Makefile.in-dist Mon Jan 6 00:44:54 1997
++++ config/Makefile.in Fri May 16 07:05:23 1997
+@@ -16,7 +16,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ default_editor = @vipath@
+diff -ur man/Makefile.in-dist man/Makefile.in
+--- man/Makefile.in-dist Sun Apr 27 18:48:11 1997
++++ man/Makefile.in Fri May 16 07:05:24 1997
+@@ -15,7 +15,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+ mandir = @mandir@
+ manext1 = 1
+diff -ur mts/mmdf/Makefile.in-dist mts/mmdf/Makefile.in
+--- mts/mmdf/Makefile.in-dist Thu Jan 2 15:00:35 1997
++++ mts/mmdf/Makefile.in Fri May 16 07:05:23 1997
+@@ -12,7 +12,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ .SUFFIXES:
+diff -ur mts/sendmail/Makefile.in-dist mts/sendmail/Makefile.in
+--- mts/sendmail/Makefile.in-dist Tue Apr 15 15:59:41 1997
++++ mts/sendmail/Makefile.in Fri May 16 07:05:23 1997
+@@ -13,7 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ CC = @CC@
+diff -ur support/general/Makefile.in-dist support/general/Makefile.in
+--- support/general/Makefile.in-dist Sat Mar 8 00:44:27 1997
++++ support/general/Makefile.in Fri May 16 07:05:24 1997
+@@ -13,7 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ INSTALL = @INSTALL@
+@@ -79,7 +79,7 @@
+ install-scripts:
+ $(top_srcdir)/mkinstalldirs $(libdir)
+ for script in $(SCRIPTS); do \
+- $(INSTALL_PROGRAM) $(srcdir)/$$script $(libdir)/$$script; \
++ $(INSTALL) -m 555 $(srcdir)/$$script $(libdir)/$$script; \
+ done
+
+ uninstall: uninstall-files uninstall-scripts
+diff -ur uip/Makefile.in-dist uip/Makefile.in
+--- uip/Makefile.in-dist Wed Feb 5 22:28:41 1997
++++ uip/Makefile.in Fri May 16 07:05:24 1997
+@@ -13,7 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libexecdir@
+
+ CC = @CC@
+diff -ur zotnet/mts/Makefile.in-dist zotnet/mts/Makefile.in
+--- zotnet/mts/Makefile.in-dist Sat Mar 8 00:48:14 1997
++++ zotnet/mts/Makefile.in Fri May 16 07:05:23 1997
+@@ -13,7 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-etcdir = @etcdir@
+-libdir = @libdir@
++etcdir = @sysconfdir@
++libdir = @libdir@
+
+ mailspool = @mailspool@
diff --git a/mail/nmh/patches/patch-ad b/mail/nmh/patches/patch-ad
new file mode 100644
index 00000000000..ee5682a64e5
--- /dev/null
+++ b/mail/nmh/patches/patch-ad
@@ -0,0 +1,47 @@
+# Do this patch after acconfig.h to avoid having autoconf regenerate the
+# config.h.in file in case end user has autoconf...
+diff -ur config.h.in-dist config.h.in
+--- config.h.in-dist Fri May 2 12:33:46 1997
++++ config.h.in Thu May 15 22:46:22 1997
+@@ -1,5 +1,11 @@
+ /* config.h.in. Generated automatically from configure.in by autoheader. */
+
++/* Define if you have the <sys/param.h> header file. */
++#undef HAVE_SYS_PARAM_H
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
++
+ /****** BEGIN USER CONFIGURATION SECTION *****/
+
+ /*
+@@ -38,9 +44,11 @@
+ * OpenBSD 2.x
+ * BSD/OS 2.x
+ */
+-/* #define BIND 1 */
+-/* #define BSD42 1 */
+-/* #define BSD44 1 */
++#if defined(BSD4_4)
++#define BIND 1
++#define BSD42 1
++#define BSD44 1
++#endif
+
+ /*
+ * SCO 4.x
+@@ -73,10 +81,13 @@
+ * other programs which may modify your maildrops.
+ * Currently you can only use one type.
+ */
++#if defined(BSD44)
++#define FCNTL_LOCKING 1
++#else
+ #define DOT_LOCKING 1
+-/* #define FCNTL_LOCKING 1 */
+ /* #define LOCKF_LOCKING 1 */
+ /* #define FLOCK_LOCKING 1 */
++#endif
+
+ /*
+ * If you have defined DOT_LOCKING, then the default is to
diff --git a/mail/nmh/patches/patch-ba b/mail/nmh/patches/patch-ba
new file mode 100644
index 00000000000..6411b0cbb1b
--- /dev/null
+++ b/mail/nmh/patches/patch-ba
@@ -0,0 +1,17 @@
+# Make sure this patch (of 'configure') is run after the patch of
+# 'configure.in' to avoid triggering any 'configure: configure.in' make
+# rules for people with autoconf.
+#
+--- configure-dist Wed Jun 4 22:21:48 1997
++++ configure Sat Jun 21 10:16:23 1997
+@@ -3738,8 +3738,8 @@
+
+
+ eval "nmhbin=${bindir}"; eval "nmhbin2=${nmhbin}"
+-eval "nmhetc=${etcdir}"; eval "nmhetc2=${nmhetc}"
+-eval "nmhlib=${libdir}"; eval "nmhlib2=${nmhlib}"
++eval "nmhetc=${sysconfdir}"; eval "nmhetc2=${nmhetc}"
++eval "nmhlib=${libexecdir}"; eval "nmhlib2=${nmhlib}"
+ eval "nmhman=${mandir}"
+
+ echo "