diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-embedded/srecord/files/srecord-1.57-libtool.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-embedded/srecord/files/srecord-1.57-libtool.patch')
-rw-r--r-- | dev-embedded/srecord/files/srecord-1.57-libtool.patch | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/dev-embedded/srecord/files/srecord-1.57-libtool.patch b/dev-embedded/srecord/files/srecord-1.57-libtool.patch new file mode 100644 index 000000000000..d1195726a3d2 --- /dev/null +++ b/dev-embedded/srecord/files/srecord-1.57-libtool.patch @@ -0,0 +1,70 @@ +--- srecord-1.57.orig/etc/configure.ac ++++ srecord-1.57/etc/configure.ac +@@ -29,6 +29,10 @@ + AC_CHECK_FUNCS(snprintf vsnprintf) + AC_CHECK_LIB(gcrypt, gcry_md_open) + ++top_builddir=`pwd` ++AC_SUBST(top_builddir) ++LT_INIT ++ + dnl + dnl Make sure Boost is installed. + dnl +@@ -119,46 +123,6 @@ + operating system has a libgcrypt that supports WHIRLPOOL.]) + AC_MSG_RESULT(yes),AC_MSG_RESULT(no))dnl + +-dnl! +-dnl! Now look for libtool. +-dnl! +-AC_CHECK_PROGS(LIBTOOL, libtool) +-if test -z "$LIBTOOL" +-then +- AC_MSG_RESULT([ +- You must have GNU Libtool installed to build srecord. +- Homepage: http://www.gnu.org/software/libtool/]) +- OK=no +- if apt-get --version > /dev/null 2> /dev/null; then +- AC_MSG_RESULT([ +- The following command may be used to install it: +- sudo apt-get install libtool +- ]) +- OK=yes +- fi +- if yum --version > /dev/null 2> /dev/null; then +- AC_MSG_RESULT([ +- The following command may be used to install it: +- sudo yum install libtool +- ]) +- OK=yes +- fi +- if pkg_info -a > /dev/null 2> /dev/null; then +- AC_MSG_RESULT([ +- The following command may be used to install it: +- sudo pkg_add -r libtool +- ]) +- OK=yes +- fi +- if test "$OK" != "yes"; then +- AC_MSG_RESULT([ +- If you are using a package based install, you will need the +- libtool package. +- ]) +- fi +- exit 1 +-fi +- + dnl + dnl If the soelim program exists, and understands the -I option, + dnl arrange for the Makefile to install the .ps files from the +--- srecord-1.57.orig/Makefile.in ++++ srecord-1.57/Makefile.in +@@ -35,6 +35,7 @@ + # + # directory containing the source + # ++top_builddir = @top_builddir@ + srcdir = @srcdir@ + VPATH = @srcdir@ + |