nmh-workers
[Top] [All Lists]

[Nmh-workers] Patches for FreeBSD port of nmh-1.2

2006-02-27 08:51:13
Hi-

I've recently updated the "port" in the FreeBSD ports collection to
nmh-1.2 and there were a couple of patches I needed to do in order to
get it to build cleanly. I figured I would send them here to see if
they're already dealt with in the source tree or if others have already
seen them.

aclocal.m4 - it tried to use a '==' operator for the sh 'test' command,
    but that command uses a single '=' for equality comparison.

configure.in - added the ndbm.h header to the list (as was suggested
    by an earlier patch posted to this list).

etc/Makefile.in - use $(INSTALL_SCRIPT) to install the scripts instead
    of $(INSTALL_PROGRAM) so it doesn't try to run 'strip' on the
    installed scripts (which fails, btw).

Scott

diff -ru ./aclocal.m4 ../../work-save/nmh-1.2/aclocal.m4
--- ./aclocal.m4        Wed Dec 14 16:45:36 2005
+++ ../../work-save/nmh-1.2/aclocal.m4  Wed Feb 22 15:37:56 2006
@@ -44,7 +44,7 @@
 dnl the right header files.)
 AC_DEFUN(NMH_CHECK_DBM,
 [
-if test "x$1" == "x"; then
+if test "x$1" = "x"; then
    nmh_libs=
    dnl this is just for the benefit of AC_CACHE_CHECK's message
    nmh_testname=libc
diff -ru ./configure.in ../../work-save/nmh-1.2/configure.in
--- ./configure.in      Wed Dec 14 16:45:36 2005
+++ ../../work-save/nmh-1.2/configure.in        Wed Feb 22 15:37:20 2006
@@ -603,7 +603,7 @@
 dnl CHECK FOR NDBM.H
 dnl ----------------
 
-AC_CHECK_HEADERS(db1/ndbm.h gdbm/ndbm.h db.h, break, )
+AC_CHECK_HEADERS(db1/ndbm.h ndbm.h gdbm/ndbm.h db.h, break, )
 
 dnl --------------
 dnl CHECK FOR NDBM
--- etc/Makefile.in     Tue Nov  8 08:58:08 2005
+++ ../../work-save2/nmh-1.2/etc/Makefile.in    Sat Feb 18 21:24:51 2006
@@ -23,6 +23,7 @@
 
 INSTALL         = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT  = @INSTALL_SCRIPT@
 INSTALL_DATA    = @INSTALL_DATA@
 
 # Path to search for programs to handle MIME
@@ -85,7 +86,7 @@
 install-bin-files:
        $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
        for script in $(GENERATED_BIN_FILES); do \
-         $(INSTALL_PROGRAM) $$script $(DESTDIR)$(bindir)/$$script; \
+         $(INSTALL_SCRIPT) $$script $(DESTDIR)$(bindir)/$$script; \
        done
 
 install-etc-files:


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>