diff options
Diffstat (limited to 'x11-terms/lilyterm/files/lilyterm-99999-autogen.patch')
-rw-r--r-- | x11-terms/lilyterm/files/lilyterm-99999-autogen.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-terms/lilyterm/files/lilyterm-99999-autogen.patch b/x11-terms/lilyterm/files/lilyterm-99999-autogen.patch new file mode 100644 index 000000000000..8485d56ed75c --- /dev/null +++ b/x11-terms/lilyterm/files/lilyterm-99999-autogen.patch @@ -0,0 +1,29 @@ +--- a/autogen.sh ++++ b/autogen.sh +@@ -44,11 +44,10 @@ + Replace_Parameter BINARY + echo "" + +-# for GTK3+ +-pkg-config --cflags gtk+-2.0 > /dev/null 2>&1 ++false + if [ $? != 0 ]; then + sed -i 's/^AM_PATH_GTK_2_0.*/PKG_CHECK_MODULES([GTK], [gtk+-3.0])/g' configure.ac +- pkg-config --cflags vte-2.91 > /dev/null 2>&1 ++true + if [ $? = 0 ]; then + sed -i 's/^PKG_CHECK_MODULES(vte, \[vte >= .*/PKG_CHECK_MODULES(vte, [vte-2.91 >= 0.38.0],, AC_MSG_ERROR([You need libvte-2.91 >= 0.38.0 to build $_PACKAGE]))/g' configure.ac + sed -i 's/^lilyterm_LDADD\(.*\)$/lilyterm_LDADD\1 -lX11/g' src/Makefile.am +@@ -56,12 +55,3 @@ + sed -i 's/^PKG_CHECK_MODULES(vte, \[vte >= .*/PKG_CHECK_MODULES(vte, [vte-2.90 >= 0.30.0],, AC_MSG_ERROR([You need libvte-2.90 >= 0.30.0 to build $_PACKAGE]))/g' configure.ac + fi + fi +- +-set -x +- +-aclocal +-autoheader +-intltoolize --automake --copy --force +-automake --add-missing --copy +-autoconf +- |