Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 27th, 2012  |  syntax: None  |  size: 1.26 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/recipes/autoconf/autoconf.inc b/recipes/autoconf/autoconf.inc
  2. index 7f22c2b..031cbe2 100644
  3. --- a/recipes/autoconf/autoconf.inc
  4. +++ b/recipes/autoconf/autoconf.inc
  5. @@ -8,7 +8,7 @@ RDEPENDS_${PN} = "m4 perl gnu-config"
  6.  DEPENDS_virtclass-native = "m4-native gnu-config-native perl-native"
  7.  RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native perl-native"
  8.  
  9. -INC_PR = "r13"
  10. +INC_PR = "r14"
  11.  
  12.  SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2;name=autoconf \
  13.            file://program_prefix.patch"
  14. @@ -25,13 +25,18 @@ do_configure_prepend () {
  15.                 export ac_cv_path_M4="${ac_cv_path_M4=${bindir}/m4}"
  16.                 export ac_cv_prog_gnu_m4="${ac_cv_prog_gnu_m4=yes}"
  17.         fi
  18. -
  19. -       sed -i -e's,^SUBDIRS = .*,SUBDIRS = ${SUBDIRS},' ${S}/Makefile.am
  20. +       if [ -e ${S}/Makefile.am ]
  21. +       then
  22. +               sed -i -e's,^SUBDIRS = .*,SUBDIRS = ${SUBDIRS},' ${S}/Makefile.am
  23. +       fi
  24.  }
  25.  
  26.  do_configure_append() {
  27.         # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
  28. -       sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/bin/*.in
  29. +       if [ -e ${S}/bin/*.in ]
  30. +       then
  31. +               sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/bin/*.in
  32. +       fi
  33.  }
  34.  
  35.  PARALLEL_MAKE = ""