gimp-lqr-plugin: allow for automake 1.18

This commit is contained in:
someuser12
2025-09-02 16:35:01 +02:00
committed by Renee Otten
parent bd59cd7689
commit 91e18c8107
2 changed files with 13 additions and 9 deletions
+3 -2
View File
@@ -5,7 +5,7 @@ PortGroup active_variants 1.1
name gimp-lqr-plugin
version 0.7.2
revision 3
revision 3
license GPL-2
maintainers {devans @dbevans} openmaintainer
categories graphics
@@ -24,7 +24,8 @@ master_sites http://liquidrescale.wikidot.com/local--files/en:download-page-s
use_bzip2 yes
checksums rmd160 1e03d5f6eb8b2914bdfa2e05eb33db0850f47f24 \
sha256 169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a
sha256 169e11164e4fe4e93a0f06e545748bd77b206b7a471bdebf7dd3bc8a008e647a \
size 784455
depends_build port:autoconf \
port:automake \
@@ -8,8 +8,8 @@ https://github.com/carlobaldassi/gimp-lqr-plugin/issues/12
https://github.com/carlobaldassi/gimp-lqr-plugin/pull/13
Disable maintainer mode.
--- autogen.sh.orig 2010-03-30 12:19:38.000000000 -0500
+++ autogen.sh 2024-08-04 02:49:08.000000000 -0500
--- autogen.sh.orig 2010-03-30 19:19:38
+++ autogen.sh 2025-09-02 16:19:59
@@ -13,7 +13,7 @@
FILE=src/render.c
@@ -28,14 +28,17 @@ Disable maintainer mode.
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
VER=`autoconf --version \
| grep -iw autoconf | sed "s/.* \([0-9.]*\)[-a-z0-9]*$/\1/"`
@@ -52,8 +52,17 @@
@@ -52,8 +52,20 @@
DIE=1;
fi
-echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
-if (automake-1.7 --version) < /dev/null > /dev/null 2>&1; then
+printf "checking for automake >= %s ... " "$AUTOMAKE_REQUIRED_VERSION"
+if (automake-1.17 --version) < /dev/null > /dev/null 2>&1; then
+if (automake-1.18 --version) < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake-1.18
+ ACLOCAL=aclocal-1.18
+elif (automake-1.17 --version) < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake-1.17
+ ACLOCAL=aclocal-1.17
+elif (automake-1.16 --version) < /dev/null > /dev/null 2>&1; then
@@ -48,7 +51,7 @@ Disable maintainer mode.
AUTOMAKE=automake-1.7
ACLOCAL=aclocal-1.7
elif (automake-1.8 --version) < /dev/null > /dev/null 2>&1; then
@@ -85,7 +94,7 @@
@@ -85,7 +97,7 @@
check_version $VER $AUTOMAKE_REQUIRED_VERSION
fi
@@ -57,7 +60,7 @@ Disable maintainer mode.
if (glib-gettextize --version) < /dev/null > /dev/null 2>&1; then
VER=`glib-gettextize --version \
| grep glib-gettextize | sed "s/.* \([0-9.]*\)/\1/"`
@@ -98,7 +107,7 @@
@@ -98,7 +110,7 @@
DIE=1
fi
@@ -66,7 +69,7 @@ Disable maintainer mode.
if (intltoolize --version) < /dev/null > /dev/null 2>&1; then
VER=`intltoolize --version \
| grep intltoolize | sed "s/.* \([0-9.]*\)/\1/"`
@@ -130,7 +139,7 @@
@@ -130,7 +142,7 @@
echo
echo "I am going to run ./configure with the following arguments:"
echo