diff options
author | Holger Schurig <schurig@mn-solutions.de> | 2007-03-19 08:23:58 +0000 |
---|---|---|
committer | Holger Schurig <schurig@mn-solutions.de> | 2007-03-19 08:23:58 +0000 |
commit | 45eb07f3390cb62f65b46868c474fe593aba9ffe (patch) | |
tree | 9fe91b3cc7b3ff70f58e057e7f251986cb99191d /packages/ltrace | |
parent | 8d17ea8879d198758dc774c34c9c2ee4867e7956 (diff) |
ltrace: fix configure.ac to not search in /usr/include for header files
Diffstat (limited to 'packages/ltrace')
-rw-r--r-- | packages/ltrace/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/ltrace/files/no-usr-include.patch | 16 | ||||
-rw-r--r-- | packages/ltrace/ltrace_0.4.bb | 3 |
3 files changed, 18 insertions, 1 deletions
diff --git a/packages/ltrace/files/.mtn2git_empty b/packages/ltrace/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/ltrace/files/.mtn2git_empty 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 = "" |