makefile-remove-hard-usr-reference.patch 914 B

12345678910111213141516171819202122232425262728293031323334
  1. From 505705d0e1b55ce3fdc10d0e5eab5488f869adb6 Mon Sep 17 00:00:00 2001
  2. From: Andreas Oberritter <obi@opendreambox.org>
  3. Date: Thu, 1 Jul 2010 14:34:12 +0800
  4. Subject: [PATCH] ppp: Upgraded to version 2.4.5
  5. The patch comes from OpenEmbedded.
  6. Rebased for ppp-2.4.5. Dongxiao Xu <dongxiao.xu@intel.com>
  7. Updated from OE-Classic to include the pcap hunk.
  8. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
  9. Upstream-Status: Inappropriate [configuration]
  10. ---
  11. pppd/Makefile.linux | 4 ++--
  12. 1 file changed, 2 insertions(+), 2 deletions(-)
  13. diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
  14. index 4e485a1..44c4193 100644
  15. --- a/pppd/Makefile.linux
  16. +++ b/pppd/Makefile.linux
  17. @@ -188,10 +188,10 @@ LIBS += -ldl
  18. endif
  19. ifdef FILTER
  20. -ifneq ($(wildcard /usr/include/pcap-bpf.h),)
  21. +#ifneq ($(wildcard /usr/include/pcap-bpf.h),)
  22. LIBS += -lpcap
  23. CFLAGS += -DPPP_FILTER
  24. -endif
  25. +#endif
  26. endif
  27. ifdef HAVE_INET6