Skip to content
Permalink
Browse files

libsecret: refresh autogen.sh from upstream

Add build fix for automake 1.16.

Closes https://trac.macports.org/ticket/56116

Alternative to #1457
  • Loading branch information
dbevans committed Mar 22, 2018
1 parent 9048e42 commit 63d5bd6427b5c6246104f29b195dfc165a712a30
Showing with 8 additions and 2 deletions.
  1. +8 −2 gnome/libsecret/files/autogen.sh
@@ -43,7 +43,7 @@ fi
DIE=1
}

AUTOMAKE_VERSIONS="1.15 1.14 1.13 1.12 1.11 1.10"
AUTOMAKE_VERSIONS="1.16 1.15 1.14 1.13 1.12 1.11 1.10"
for version in $AUTOMAKE_VERSIONS; do
if automake-$version --version < /dev/null > /dev/null 2>&1 ; then
AUTOMAKE=automake-$version
@@ -104,6 +104,12 @@ cd $ORIGDIR || exit $?
if test -z "$NOCONFIGURE"; then
$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?

echo
# Put a redirect makefile here
if [ ! -f $srcdir/Makefile ]; then
cat $srcdir/build/Makefile.redirect > $srcdir/Makefile
printf "\nREDIRECT = %s\n" "$(realpath $ORIGDIR)" >> $srcdir/Makefile
fi

echo
echo "Now type 'make' to compile $PROJECT."
fi

0 comments on commit 63d5bd6

Please sign in to comment.
You can’t perform that action at this time.