freebsd-ports/mail/nmh/files/patch-ac
Cy Schubert 6d25bcb88d Fix the following:
* Alphabetize the comments on the Makefile variables that affect the
  configure process.

* Add a new NMH_EXTRA_CONFIGURE_ARGS var to let builder pass extra args
  through to configure.

* Add a new NMH_POP var to allow builder to disable the --enable-pop
  configure setting.

* Take 'uname' out of the AC_CHECK_FUNCS so the configure script never sets
  HAVE_UNAME, so that it only uses gethostname(3) to get the hostname.
  The HAVE_UNAME #define is only used in zotnet/mts/mts.c and it uses
  gethostname(3) in its stead both times.

PR:             36307
Submitted by:   MAINTAINER: Scott Blachowicz <Scott.Blachowicz@seaslug.org>
2002-04-21 16:25:02 +00:00

23 lines
843 B
Text

--- ../../../nmh-1.0.4/configure.in Wed Mar 15 15:37:30 2000
+++ ./configure.in Sun Mar 31 18:55:06 2002
@@ -193,6 +193,11 @@
dnl ------------------
AC_PROG_MAKE_SET dnl Does make define $MAKE
AC_PROG_INSTALL dnl Check for BSD compatible `install'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 755'
+
+AC_SUBST(INSTALL_SCRIPT)
+
AC_PROG_RANLIB dnl Check for `ranlib'
AC_PROG_AWK dnl Check for mawk,gawk,nawk, then awk
AC_PROG_LEX dnl Check for lex/flex
@@ -389,7 +394,7 @@
AC_FUNC_VFORK
AC_CHECK_LIB(mkstemp,mkstemp)
AC_CHECK_FUNCS(waitpid wait3 sigaction sigprocmask sigblock sigsetmask \
- sighold sigrelse writev lstat uname tzset killpg mkstemp \
+ sighold sigrelse writev lstat tzset killpg mkstemp \
sethostent)
dnl solaris screws this up