ports/131618: [patch] Upgrade of devel/m4 to 1.4.12
Johan van Selst
johans at FreeBSD.org
Thu Feb 12 19:00:12 UTC 2009
>Number: 131618
>Category: ports
>Synopsis: [patch] Upgrade of devel/m4 to 1.4.12
>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: Thu Feb 12 19:00:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 7.1-STABLE FreeBSD 7.1-STABLE #4: Wed Jan 21 11:54:50 CET 2009 root at mud.stack.nl:/extra1/obj/usr/src/sys/GENERIC i386
>Description:
Update of GNU m4 to stable version 1.4.12 (October 2008)
This is mostly a bugfix release, see
http://lists.gnu.org/archive/html/m4-announce/2008-10/msg00000.html
This release adds an optional dependency on GNU libsigsegv,
in order to improve the quality of diagnostics given
if stack overflow occurs.
>How-To-Repeat:
>Fix:
diff -uNr m4/Makefile m4/Makefile
--- m4/Makefile 2009-01-06 08:30:18.000000000 +0100
+++ m4/Makefile 2009-02-12 19:45:26.000000000 +0100
@@ -6,7 +6,7 @@
#
PORTNAME= m4
-PORTVERSION= 1.4.11
+PORTVERSION= 1.4.12
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
@@ -29,8 +29,19 @@
EXAMPLESDIR= share/examples/gm4
+OPTIONS= LIBSIGSEGV "Use libsigsegv for better diagnostics" Off
+
post-install:
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LIBSIGSEGV)
+LIB_DEPENDS= sigsegv:${PORTSDIR}/devel/libsigsegv
+CONFIGURE_ARGS+= --with-libsigsegv-prefix=$(LOCALBASE)
+.else
+CONFIGURE_ARGS+= --without-libsigsegv-prefix
+.endif
+
+.include <bsd.port.post.mk>
diff -uNr m4/distinfo m4/distinfo
--- m4/distinfo 2008-06-06 08:31:48.000000000 +0200
+++ m4/distinfo 2009-02-12 18:56:36.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (m4-1.4.11.tar.bz2) = 96ec473c2a6f203976c028e896a01b28
-SHA256 (m4-1.4.11.tar.bz2) = 0b7c686525b3f4236670f9329387d2a59e807b6a83d2b5cb9bbeb7d6ab9f8aad
-SIZE (m4-1.4.11.tar.bz2) = 928910
+MD5 (m4-1.4.12.tar.bz2) = b3587c993523dd320c318ec456876839
+SHA256 (m4-1.4.12.tar.bz2) = 855217de304616931844f54bd00a1e03e92452f85de6caeec47b0e8244881ba3
+SIZE (m4-1.4.12.tar.bz2) = 900132
diff -uNr m4/pkg-plist m4/pkg-plist
--- m4/pkg-plist 2008-06-06 08:31:48.000000000 +0200
+++ m4/pkg-plist 2009-02-12 19:11:52.000000000 +0100
@@ -12,6 +12,7 @@
%%EXAMPLESDIR%%/foreachq.m4
%%EXAMPLESDIR%%/foreachq2.m4
%%EXAMPLESDIR%%/foreachq3.m4
+%%EXAMPLESDIR%%/foreachq4.m4
%%EXAMPLESDIR%%/forloop.m4
%%EXAMPLESDIR%%/forloop2.m4
%%EXAMPLESDIR%%/fstab.m4
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list