Files
macports-ports/sysutils/watch/files/patch-autogen.sh.diff
stuandGitHub 99e9555380 watch: update to 4.0.4 (#25273)
* Add @stuartwesterman as maintainer
* Add back in the configure patch exposition
2024-08-30 05:23:12 -04:00

30 lines
962 B
Diff

--- autogen.sh.orig 2024-08-13 02:41:43
+++ autogen.sh 2024-08-13 02:42:06
@@ -35,7 +35,7 @@
DIE=1
}
-LTVER=$(libtoolize --version | awk '/^libtoolize/ { print $4 }')
+LTVER=$(glibtoolize --version | awk '/^glibtoolize/ { print $4 }')
LTVER=${LTVER:-"none"}
test ${LTVER##2.} = "${LTVER}" && {
echo "You must have libtoolize version >= 2.x.x, but you have ${LTVER}."
@@ -52,7 +52,7 @@
echo " autoconf: $(autoconf --version | head -1)"
echo " autoheader: $(autoheader --version | head -1)"
echo " automake: $(automake --version | head -1)"
-echo " libtoolize: $(libtoolize --version | head -1)"
+echo " libtoolize: $(glibtoolize --version | head -1)"
rm -rf autom4te.cache
@@ -64,7 +64,7 @@
sed -i -e 's/^datadir *=\(.*\)/datarootdir = @datarootdir@\
datadir = @datadir@/g' po/Makefile.in.in
fi
-libtoolize --force ${LT_OPTS}
+glibtoolize --force ${LT_OPTS}
aclocal -I m4 ${AL_OPTS}
autoconf ${AC_OPTS}
autoheader ${AH_OPTS}