git: 12b87a6040d4 - main - devel/m4: Update to 1.4.19
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jul 6 19:19:25 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=12b87a6040d47ed1e4e4a09f680ea20a63a2e588
commit 12b87a6040d47ed1e4e4a09f680ea20a63a2e588
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-06 19:15:27 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-06 19:15:27 +0000
devel/m4: Update to 1.4.19
- Add NLS option
Changes: https://lists.gnu.org/archive/html/m4-announce/2021-05/msg00002.html
---
devel/m4/Makefile | 12 +++++++-----
devel/m4/distinfo | 6 +++---
devel/m4/files/patch-configure | 11 +++++++++++
devel/m4/pkg-plist | 26 ++++++++++++++++++++++++++
4 files changed, 47 insertions(+), 8 deletions(-)
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index 7a3e0ebf1f3a..08faf8475b87 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -1,8 +1,7 @@
# Created by: mr
PORTNAME= m4
-PORTVERSION= 1.4.18
-PORTREVISION= 1
+PORTVERSION= 1.4.19
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= GNU
@@ -13,7 +12,7 @@ COMMENT= GNU M4
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= makeinfo tar:xz
+USES= iconv makeinfo tar:xz
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split"
@@ -22,11 +21,14 @@ GNU_CONFIGURE= yes
EXAMPLESDIR= ${PREFIX}/share/examples/gm4
INFO= m4
-OPTIONS_DEFINE= LIBSIGSEGV EXAMPLES
+OPTIONS_DEFINE= EXAMPLES LIBSIGSEGV NLS
+OPTIONS_SUB= yes
LIBSIGSEGV_DESC=Use alternative page fault handler (GNU libsigsegv)
LIBSIGSEGV_CONFIGURE_WITH= libsigsegv-prefix=${LOCALBASE}
-LIBSIGSEGV_LIB_DEPENDS= libsigsegv.so:devel/libsigsegv
+LIBSIGSEGV_LIB_DEPENDS= libsigsegv.so:devel/libsigsegv
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e '/^* M4: / s|M4|G&|' ${WRKSRC}/doc/m4.texi
diff --git a/devel/m4/distinfo b/devel/m4/distinfo
index acbe39508afc..2af7aecdeea5 100644
--- a/devel/m4/distinfo
+++ b/devel/m4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1483466903
-SHA256 (m4-1.4.18.tar.xz) = f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07
-SIZE (m4-1.4.18.tar.xz) = 1207688
+TIMESTAMP = 1625585428
+SHA256 (m4-1.4.19.tar.xz) = 63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96
+SIZE (m4-1.4.19.tar.xz) = 1654908
diff --git a/devel/m4/files/patch-configure b/devel/m4/files/patch-configure
new file mode 100644
index 000000000000..b7f61445e593
--- /dev/null
+++ b/devel/m4/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2021-05-28 18:49:43 UTC
++++ configure
+@@ -46445,7 +46445,7 @@ find_stack_direction (int *addr, int depth)
+ return dir + dummy;
+ }
+ int
+-main (int argc, char *argv)
++main (int argc, char **argv)
+ {
+ printf ("%d\n", find_stack_direction (NULL, argc + 20));
+ return 0;
diff --git a/devel/m4/pkg-plist b/devel/m4/pkg-plist
index 9c5af5f6ed52..76fa6d1723be 100644
--- a/devel/m4/pkg-plist
+++ b/devel/m4/pkg-plist
@@ -44,3 +44,29 @@ man/man1/gm4.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrapfifo.m4
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wraplifo.m4
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wraplifo2.m4
+%%NLS%%share/locale/bg/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/da/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/de/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/el/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/es/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/id/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/m4.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/m4.mo
More information about the dev-commits-ports-all
mailing list