From 45eb07f3390cb62f65b46868c474fe593aba9ffe Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Mon, 19 Mar 2007 08:23:58 +0000 Subject: ltrace: fix configure.ac to not search in /usr/include for header files --- packages/ltrace/files/.mtn2git_empty | 0 packages/ltrace/files/no-usr-include.patch | 16 ++++++++++++++++ packages/ltrace/ltrace_0.4.bb | 3 ++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 packages/ltrace/files/.mtn2git_empty create mode 100644 packages/ltrace/files/no-usr-include.patch (limited to 'packages') diff --git a/packages/ltrace/files/.mtn2git_empty b/packages/ltrace/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/ltrace/files/no-usr-include.patch b/packages/ltrace/files/no-usr-include.patch new file mode 100644 index 0000000000..adadfa8032 --- /dev/null +++ b/packages/ltrace/files/no-usr-include.patch @@ -0,0 +1,16 @@ +--- ltrace-0.4.orig/configure.ac ++++ ltrace-0.4/configure.ac +@@ -41,13 +41,6 @@ + dnl AC_CHECK_FUNCS(gettimeofday strdup strerror strspn) + AC_CHECK_FUNCS(getopt getopt_long) + +-for path in /usr/include/elfutils /usr/local/include/elfutils \ +- /usr/include/libelf /usr/local/include/libelf; do +- if test -f ${path}/gelf.h; then +- CPPFLAGS="$CPPFLAGS -I ${path}" +- fi +-done +- + AC_CHECK_HEADER(gelf.h,,AC_MSG_ERROR([***** gelf.h not found *****])) + + AC_CHECK_LIB(elf,gelf_getdyn) diff --git a/packages/ltrace/ltrace_0.4.bb b/packages/ltrace/ltrace_0.4.bb index 4ef906f2f9..97b7d18d22 100644 --- a/packages/ltrace/ltrace_0.4.bb +++ b/packages/ltrace/ltrace_0.4.bb @@ -6,7 +6,8 @@ LICENSE = "GPL" PR = "r0" SRC_URI = "ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.4.orig.tar.gz \ - ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.4-1.diff.gz;patch=1" + ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.4-1.diff.gz;patch=1 \ + file://no-usr-include.patch;patch=1" inherit autotools PARALLEL_MAKE = "" -- cgit v1.2.3