gimp-gap: Use automake 1.17 if available

See: https://trac.macports.org/ticket/70408
This commit is contained in:
Ryan Carsten Schmidt
2024-07-23 00:17:38 -05:00
parent 90e6203bae
commit d6135c652c
2 changed files with 8 additions and 6 deletions
+4 -5
View File
@@ -24,7 +24,6 @@ universal_variant no
use_parallel_build no
homepage http://www.gimp.org/
platforms darwin
master_sites gimp:gimp/plug-ins/v${branch}/gap/:gap \
http://www.ffmpeg.org/releases/:ffmpeg
@@ -57,12 +56,12 @@ post-patch {
reinplace "s|MP_FFMPEG_EXTRAS|${ffmpeg_extras}|" ${worksrcpath}/extern_libs/configure_options_ffmpeg.txt
}
depends_build port:pkgconfig \
port:intltool \
port:gmake \
port:autoconf \
depends_build port:autoconf \
port:automake \
port:gmake \
port:intltool \
port:libtool \
path:bin/pkg-config:pkgconfig \
port:yasm
depends_lib path:lib/pkgconfig/gimp-2.0.pc:gimp2 \
+4 -1
View File
@@ -88,7 +88,10 @@ fi
echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
if (automake-1.16 --version) < /dev/null > /dev/null 2>&1; then
if (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
AUTOMAKE=automake-1.16
ACLOCAL=aclocal-1.16
elif (automake-1.15 --version) < /dev/null > /dev/null 2>&1; then