ports/101729: [PATCH] devel/gnu-autoconf: update to 2.60

Stanislav Sedov ssedov at mbsd.msk.ru
Wed Aug 9 21:00:34 UTC 2006


>Number:         101729
>Category:       ports
>Synopsis:       [PATCH] devel/gnu-autoconf: update to 2.60
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 09 21:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
- Update to 2.60

The following files was added:
- files/patch-lib_autoconf_general.m4

ChangeLog:
- Autoconf no longer depends on whether m4wrap is FIFO (as Posix requires)
  or LIFO (as in GNU M4 1.4.x).  GNU M4 2.0 is expected to conform to Posix
  here, so m4wrap/m4_wrap users should no longer depend on LIFO behavior.
- Provide a way to turn off warnings about the changed directory variables.
- AC_TRY_COMMAND, AC_TRY_EVAL, ac_config_guess, ac_config_sub, ac_configure
  These never-documented macros and variables have been marked with
  comments saying that they may be removed in a future release,
  because their use can lead to unintended code being executed.
  If you need functionality that only these macros or variables
  currently supply, please write bug-autoconf at gnu.org.
- Literal arguments to these are passed to m4_pattern_allow now.
- Passing 'ac_cv_prog_cc_stdc=no' to 'configure' now sets ac_cv_prog_cc_c99
  and ac_cv_prog_cc_c89 to 'no' as well, for backward compatibility with
  obsolete K&R tests in the Automake test suite.
- New macro: AC_PROG_CXX_C_O AC_PROG_MKDIR_P
- AS_MKDIR_P now more robust with special characters in file names, or when
  multiple processes create the same directory at the same time.
- @top_builddir@ is now a dir name: it is always nonempty and doesn't have
  a trailing slash.  Similar change will be made to ac_top_builddir in a
  future release; the old style value, which matches (../)*, is (and will
  continue to be) available as ac_top_build_prefix.
- AC_C_TYPEOF New macro to check for support of 'typeof' syntax a la GNU C.
- AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS_ONCE
  New "once-only" variants of commonly-used macros, to make 'configure'
  smaller and faster in common cases.
- AC_FUNC_STRTOLD New macro to check for strtold with C99 semantics.
- AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS_ONCE
  New "once-only" variants of commonly-used macros, to make 'configure'
  smaller and faster in common cases.
- AC_FUNC_STRTOLD
  New macro to check for strtold with C99 semantics.
- AC_HEADER_ASSERT
  New macro that lets builder disable assertions at 'configure'-time.
- AC_PATH_X
  Now checks for X11/Xlib.h and XrmInitialize (X proper) rather than
  X11/Intrinsic.h and XtMalloc (Xt).
- AC_PRESERVE_HELP_ORDER
  New macro that causes `configure' to display help strings for AC_ARG_ENABLE
  and AC_ARG_WITH arguments in one region, in the order defined.  The default
  behavior is to group options of each classes separately.
- AC_PROG_CC, AC_PROG_CXX
  No longer automatically arrange to declare the 'exit' function of C,
  when a C++ compiler is used.  Standard Autoconf macros no longer use
  'exit', so this is no longer an issue for them.  If you use C++, and
  want to call 'exit', you'll have to arrange for its declaration
  yourself.  But we now suggest you return from 'main' instead.
- AC_PROG_CC_C89, AC_PROG_CC_C99
  New macros for ISO C99 support.  AC_PROG_CC_C89 and AC_PROG_CC_C99
  check for ANSI C89 and ISO C99 support respectively.
- AC_PROG_CC_STDC
  Has been unobsoleted, and will check if the compiler supports ISO
  C99, falling back to ANSI C89 if not.  ac_cv_prog_cc_stdc is
  retained for backwards compatibility, assuming the value of
  ac_cv_prog_cc_c99 or ac_cv_prog_cc_c89 (whichever is valid, in
  that order).
- AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE
  New macros for checking commonly-used members of struct dirent.
- AC_SUBST
  The substituted value can now contain newlines.
- AC_SUBST_FILE
  The substitution now occurs only when @variable@ is on a line by itself,
  optionally surrounded by spaces and tabs.  The whole line is replaced.
- AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER
  New macros to check for long double, and whether it is wider than double.
  The old macro AC_C_TYPE_LONG_DOUBLE has been marked as obsolete;
  applications should switch to the new macro.
- AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
  AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT, AC_TYPE_SSIZE_T,
  AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
  AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT
  New macros to check for C99 and POSIX types.
- AC_USE_SYSTEM_EXTENSIONS
  New macro to enable extensions to Posix.
- AH_HEADER
  New macro which is defined to the name of the first declared config header
  or undefined if no config headers have been declared yet.
- AS_HELP_STRING
  The macro correctly handles quadrigraphs now.
- AS_BOURNE_COMPATIBLE, AS_SHELL_SANITIZE, AS_CASE
  These macros are new or published now.
- AT_COPYRIGHT
  New macro for copyright notices in testsuite files.
- ALLOCA, LIBOBJS, LTLIBOBJS
  Object names added to these variables are now prefixed with `${LIBOBJDIR}',
  as in `${LIBOBJDIR}alloca.o'.  LIBOBJDIR is meant to be defined from
  `Makefile.in' in case the object files lie in a different directory.
  The LIBOBJDIR feature is experimental.
- autoreconf
  Supports --no-recursive now.
- New macros to support Erlang/OTP.
  New macros for configuring paths to Erlang tools and libraries:
  AC_ERLANG_PATH_ERLC, AC_ERLANG_NEED_ERLC, AC_ERLANG_PATH_ERL,
  AC_ERLANG_NEED_ERL, AC_ERLANG_CHECK_LIB, AC_ERLANG_SUBST_ROOT_DIR,
  AC_ERLANG_SUBST_LIB_DIR.
  New macros for configuring installation of Erlang libraries:
  AC_ERLANG_SUBST_INSTALL_LIB_DIR, AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR.
- The manual now mentions Gnulib more prominently.
- New macros to support Objective C.
  AC_PROG_OBJC, AC_PROG_OBJCPP.
- AC_CHECK_ALIGNOF
  New macro that computes the default alignment of a type.
- AC_CHECK_TOOL, AC_PATH_TOOL, AC_CHECK_TOOLS
  When cross-compiling, these macros will give a warning if the tool
  is not prefixed.  In the future, unprefixed cross tools will not
  be detected; please consult the info documentation for information
  about the reason of this change.
- AC_CHECK_TARGET_TOOL, AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOLS
  New macros that detect programs whose name is prefixed with the
  target type, if the build type and target type are different.
- AC_REQUIRE_AUX_FILE
  New trace macro that declares expected auxiliary files.
- AC_PROG_GREP
  New macro that tests for a grep program that accepts as a long a line
  as possible.
- AC_PROG_EGREP, AC_PROG_FGREP
  These macros now require AC_PROG_GREP, and try EGREP="$GREP -E" and
  FGREP="$GREP -F" respectively if possible, or else run a path search for
  a program that accepts as long a line as possible.
- AC_PROG_SED
  New macro that tests for a sed program that truncates as few characters
  as possible.

Copy of this message was sent to (ade at FreeBSD.org).

>How-To-Repeat:
>Fix:

--- gnu-autoconf-2.60.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/gnu-autoconf/Makefile /var/tmp/ruby/gnu-autoconf/Makefile
--- /usr/ports/devel/gnu-autoconf/Makefile	Thu Jun 16 23:27:25 2005
+++ /var/tmp/ruby/gnu-autoconf/Makefile	Thu Aug 10 00:26:45 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	autoconf
-PORTVERSION=	2.59
+PORTVERSION=	2.60
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	autoconf
@@ -33,8 +33,18 @@
 CONFIGURE_ENV+=	M4=${LOCALBASE}/bin/gm4
 CONFIGURE_ARGS=	--without-lispdir
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+INFODIR=	${PREFIX}/${INFO_PATH}
 
 MAN1=		autoconf.1 autoheader.1 autom4te.1 autoreconf.1 autoscan.1 \
 		autoupdate.1 config.guess.1 config.sub.1 ifnames.1
+
+post-configure:
+	@${REINPLACE_CMD} -E \
+		-e "s,^(infodir[[:space:]]=[[:space:]]).*,\1${INFODIR}," \
+		${WRKSRC}/doc/Makefile
+
+	@${REINPLACE_CMD} -E \
+		-e "s,^(mandir[[:space:]]=[[:space:]]).*,\1${MANPREFIX}/man," \
+		${WRKSRC}/man/Makefile
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/devel/gnu-autoconf/distinfo /var/tmp/ruby/gnu-autoconf/distinfo
--- /usr/ports/devel/gnu-autoconf/distinfo	Mon Nov 14 08:05:46 2005
+++ /var/tmp/ruby/gnu-autoconf/distinfo	Wed Aug  9 16:39:29 2006
@@ -1,3 +1,3 @@
-MD5 (autoconf-2.59.tar.bz2) = 1ee40f7a676b3cfdc0e3f7cd81551b5f
-SHA256 (autoconf-2.59.tar.bz2) = f0cde70a8f135098a6a3e85869f2e1cc3f141beea766fa3d6636e086cd8b90a7
-SIZE (autoconf-2.59.tar.bz2) = 925073
+MD5 (autoconf-2.60.tar.bz2) = 019609c29d0cbd9110c38480304aafc8
+SHA256 (autoconf-2.60.tar.bz2) = 044bc0037c9d40dccef92bf9a82fb19b56c02aeff12ab72a7ad9b04deaf0fcc5
+SIZE (autoconf-2.60.tar.bz2) = 1019170
diff -ruN --exclude=CVS /usr/ports/devel/gnu-autoconf/files/patch-lib_autoconf_general.m4 /var/tmp/ruby/gnu-autoconf/files/patch-lib_autoconf_general.m4
--- /usr/ports/devel/gnu-autoconf/files/patch-lib_autoconf_general.m4	Thu Jan  1 05:00:00 1970
+++ /var/tmp/ruby/gnu-autoconf/files/patch-lib_autoconf_general.m4	Thu Aug 10 00:48:20 2006
@@ -0,0 +1,31 @@
+--- lib/autoconf/general.m4.orig	Thu Aug 10 00:43:54 2006
++++ lib/autoconf/general.m4	Thu Aug 10 00:48:20 2006
+@@ -563,14 +563,14 @@
+ AC_SUBST([docdir],         [m4_ifset([AC_PACKAGE_TARNAME],
+ 				     ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
+ 				     ['${datarootdir}/doc/${PACKAGE}'])])dnl
+-AC_SUBST([infodir],        ['${datarootdir}/info'])dnl
++AC_SUBST([infodir],        ['${prefix}/info'])dnl
+ AC_SUBST([htmldir],        ['${docdir}'])dnl
+ AC_SUBST([dvidir],         ['${docdir}'])dnl
+ AC_SUBST([pdfdir],         ['${docdir}'])dnl
+ AC_SUBST([psdir],          ['${docdir}'])dnl
+ AC_SUBST([libdir],         ['${exec_prefix}/lib'])dnl
+ AC_SUBST([localedir],      ['${datarootdir}/locale'])dnl
+-AC_SUBST([mandir],         ['${datarootdir}/man'])dnl
++AC_SUBST([mandir],         ['${prefix}/man'])dnl
+ 
+ ac_prev=
+ ac_dashdash=
+@@ -1003,9 +1003,9 @@
+   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
+   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
+   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
+-  --infodir=DIR          info documentation [DATAROOTDIR/info]
++  --infodir=DIR          info documentation [PREFIX/info]
+   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
+-  --mandir=DIR           man documentation [DATAROOTDIR/man]
++  --mandir=DIR           man documentation [PREFIX/man]
+   --docdir=DIR           documentation root ]@<:@DATAROOTDIR/doc/m4_ifset([AC_PACKAGE_TARNAME], [AC_PACKAGE_TARNAME], [PACKAGE])@:>@[
+   --htmldir=DIR          html documentation [DOCDIR]
+   --dvidir=DIR           dvi documentation [DOCDIR]
diff -ruN --exclude=CVS /usr/ports/devel/gnu-autoconf/pkg-descr /var/tmp/ruby/gnu-autoconf/pkg-descr
--- /usr/ports/devel/gnu-autoconf/pkg-descr	Sun Oct 17 12:34:52 2004
+++ /var/tmp/ruby/gnu-autoconf/pkg-descr	Thu Aug 10 00:53:24 2006
@@ -11,4 +11,10 @@
 should _NEVER_ be used with the FreeBSD ports system as a replacement for the
 versioned copies of autoconf.
 
+This (FreeBSD) version differs from original in two aspects:
+ at mandir points to ${prefix}/man
+ at infodir points to ${prefix}/info
+
+These defaults will match FreeBSD mtree.
+
 WWW: http://www.gnu.org/software/autoconf/
diff -ruN --exclude=CVS /usr/ports/devel/gnu-autoconf/pkg-plist /var/tmp/ruby/gnu-autoconf/pkg-plist
--- /usr/ports/devel/gnu-autoconf/pkg-plist	Sun Feb 27 13:54:13 2005
+++ /var/tmp/ruby/gnu-autoconf/pkg-plist	Thu Aug 10 00:28:11 2006
@@ -5,55 +5,52 @@
 bin/autoscan
 bin/autoupdate
 bin/ifnames
-share/autoconf/Autom4te/C4che.pm
-share/autoconf/Autom4te/ChannelDefs.pm
-share/autoconf/Autom4te/Channels.pm
-share/autoconf/Autom4te/Configure_ac.pm
-share/autoconf/Autom4te/FileUtils.pm
-share/autoconf/Autom4te/General.pm
-share/autoconf/Autom4te/Request.pm
-share/autoconf/Autom4te/Struct.pm
-share/autoconf/Autom4te/XFile.pm
-share/autoconf/INSTALL
-share/autoconf/autoconf/autoconf.m4
-share/autoconf/autoconf/autoconf.m4f
-share/autoconf/autoconf/autoheader.m4
-share/autoconf/autoconf/autoscan.m4
-share/autoconf/autoconf/autotest.m4
-share/autoconf/autoconf/autoupdate.m4
-share/autoconf/autoconf/c.m4
-share/autoconf/autoconf/fortran.m4
-share/autoconf/autoconf/functions.m4
-share/autoconf/autoconf/general.m4
-share/autoconf/autoconf/headers.m4
-share/autoconf/autoconf/lang.m4
-share/autoconf/autoconf/libs.m4
-share/autoconf/autoconf/oldnames.m4
-share/autoconf/autoconf/programs.m4
-share/autoconf/autoconf/specific.m4
-share/autoconf/autoconf/status.m4
-share/autoconf/autoconf/types.m4
-share/autoconf/autom4te.cfg
-share/autoconf/autoscan/autoscan.list
-share/autoconf/autotest/autotest.m4
-share/autoconf/autotest/autotest.m4f
-share/autoconf/autotest/general.m4
-share/autoconf/m4sugar/m4sh.m4
-share/autoconf/m4sugar/m4sh.m4f
-share/autoconf/m4sugar/m4sugar.m4
-share/autoconf/m4sugar/m4sugar.m4f
-share/autoconf/m4sugar/version.m4
- at dirrm share/autoconf/m4sugar
- at dirrm share/autoconf/autotest
- at dirrm share/autoconf/autoscan
- at dirrm share/autoconf/autoconf
- at dirrm share/autoconf/Autom4te
- at dirrm share/autoconf
- at unexec /bin/rmdir %D/share/aclocal 2>/dev/null || /usr/bin/true
- at unexec /bin/rmdir %D/share 2>/dev/null || /usr/bin/true
- at unexec /bin/rmdir %D/man/man1 2>/dev/null || /usr/bin/true
- at unexec /bin/rmdir %D/man 2>/dev/null || /usr/bin/true
- at unexec /bin/rmdir %D/lib 2>/dev/null || /usr/bin/true
- at unexec /bin/rmdir %D/include 2>/dev/null || /usr/bin/true
- at unexec /bin/rmdir %D/bin 2>/dev/null || /usr/bin/true
- at unexec /bin/rmdir %D 2>/dev/null || /usr/bin/true
+%%DATADIR%%/Autom4te/C4che.pm
+%%DATADIR%%/Autom4te/ChannelDefs.pm
+%%DATADIR%%/Autom4te/Channels.pm
+%%DATADIR%%/Autom4te/Configure_ac.pm
+%%DATADIR%%/Autom4te/FileUtils.pm
+%%DATADIR%%/Autom4te/General.pm
+%%DATADIR%%/Autom4te/Request.pm
+%%DATADIR%%/Autom4te/Struct.pm
+%%DATADIR%%/Autom4te/XFile.pm
+%%DATADIR%%/INSTALL
+%%DATADIR%%/autoconf/autoconf.m4
+%%DATADIR%%/autoconf/autoconf.m4f
+%%DATADIR%%/autoconf/autoheader.m4
+%%DATADIR%%/autoconf/autoscan.m4
+%%DATADIR%%/autoconf/autotest.m4
+%%DATADIR%%/autoconf/autoupdate.m4
+%%DATADIR%%/autoconf/c.m4
+%%DATADIR%%/autoconf/erlang.m4
+%%DATADIR%%/autoconf/fortran.m4
+%%DATADIR%%/autoconf/functions.m4
+%%DATADIR%%/autoconf/general.m4
+%%DATADIR%%/autoconf/headers.m4
+%%DATADIR%%/autoconf/lang.m4
+%%DATADIR%%/autoconf/libs.m4
+%%DATADIR%%/autoconf/oldnames.m4
+%%DATADIR%%/autoconf/programs.m4
+%%DATADIR%%/autoconf/specific.m4
+%%DATADIR%%/autoconf/status.m4
+%%DATADIR%%/autoconf/types.m4
+%%DATADIR%%/autom4te.cfg
+%%DATADIR%%/autoscan/autoscan.list
+%%DATADIR%%/autotest/autotest.m4
+%%DATADIR%%/autotest/autotest.m4f
+%%DATADIR%%/autotest/general.m4
+%%DATADIR%%/m4sugar/m4sh.m4
+%%DATADIR%%/m4sugar/m4sh.m4f
+%%DATADIR%%/m4sugar/m4sugar.m4
+%%DATADIR%%/m4sugar/m4sugar.m4f
+%%DATADIR%%/m4sugar/version.m4
+ at dirrm %%DATADIR%%/m4sugar
+ at dirrm %%DATADIR%%/autotest
+ at dirrm %%DATADIR%%/autoscan
+ at dirrm %%DATADIR%%/autoconf
+ at dirrm %%DATADIR%%/Autom4te
+ at dirrm %%DATADIR%%
+ at dirrmtry share
+ at dirrmtry man/man1
+ at dirrmtry man
+ at dirrmtry bin
--- gnu-autoconf-2.60.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list