regexxer: Adapt to new location of iconv.m4 in new gettext

This commit is contained in:
Ryan Carsten Schmidt
2026-03-25 07:21:33 -05:00
parent a0cd58f83f
commit 02ce9bd69e
4 changed files with 23 additions and 9 deletions
+3 -2
View File
@@ -37,12 +37,13 @@ depends_lib port:desktop-file-utils \
depends_run port:adwaita-icon-theme
patchfiles patch-configure.ac.diff \
patchfiles gettext-1.0.patch \
patch-configure.ac.diff \
patch-Makefile.am.diff
compiler.cxx_standard 2011
# No configure script in archive
# No configure script in archive; autogen.sh runs configure
configure.cmd ./autogen.sh
configure.args --disable-schemas-compile
+15
View File
@@ -0,0 +1,15 @@
Fix autoreconf failure with gettext 1.0:
configure.ac:37: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
--- autogen.sh.orig 2021-09-04 07:18:21.000000000 -0500
+++ autogen.sh 2026-03-20 23:01:55.000000000 -0500
@@ -2,7 +2,8 @@
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
(
+ prefix=$(dirname $(dirname $(command -v autopoint)))
cd "$srcdir" &&
- AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
+ AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose -I"$prefix/share/gettext/m4"
) || exit
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
+3 -5
View File
@@ -1,13 +1,11 @@
--- Makefile.am.orig 2013-12-29 19:22:48.000000000 -0800
+++ Makefile.am 2013-12-29 19:23:07.000000000 -0800
@@ -106,8 +106,8 @@
--- Makefile.am.orig
+++ Makefile.am
@@ -106,8 +106,6 @@
@INTLTOOL_DESKTOP_RULE@
@INTLTOOL_XML_NOMERGE_RULE@
-install-data-hook: install-update-icon-cache
- $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
+#install-data-hook: install-update-icon-cache
+# $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
#$(gsettingsupdateschemacache) $(gsettingsschemadir)
uninstall-hook: uninstall-update-icon-cache
+2 -2
View File
@@ -1,5 +1,5 @@
--- configure.ac 2011-10-06 06:01:20.000000000 -0700
+++ configure.ac.orig 2013-12-29 19:19:06.000000000 -0800
--- configure.ac.orig
+++ configure.ac
@@ -42,7 +42,7 @@
gtksourceviewmm-3.0 >= 2.91.5])