200-makefile.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Index: ppp-2.4.3/pppd/Makefile.linux
  2. ===================================================================
  3. --- ppp-2.4.3.orig/pppd/Makefile.linux 2007-06-04 13:22:08.197609056 +0200
  4. +++ ppp-2.4.3/pppd/Makefile.linux 2007-06-04 13:22:11.837055776 +0200
  5. @@ -48,21 +48,21 @@
  6. # Uncomment the next line to include support for PPP packet filtering.
  7. # This requires that the libpcap library and headers be installed
  8. # and that the kernel driver support PPP packet filtering.
  9. -FILTER=y
  10. +#FILTER=y
  11. # Uncomment the next line to enable multilink PPP (enabled by default)
  12. # Linux distributions: Please leave multilink ENABLED in your builds
  13. # of pppd!
  14. -HAVE_MULTILINK=y
  15. +#HAVE_MULTILINK=y
  16. # Uncomment the next line to enable the TDB database (enabled by default.)
  17. # If you enable multilink, then TDB is automatically enabled also.
  18. # Linux distributions: Please leave TDB ENABLED in your builds.
  19. -USE_TDB=y
  20. +#USE_TDB=y
  21. -HAS_SHADOW=y
  22. +#HAS_SHADOW=y
  23. #USE_PAM=y
  24. -#HAVE_INET6=y
  25. +HAVE_INET6=y
  26. # Enable plugins
  27. PLUGIN=y
  28. @@ -77,7 +77,7 @@
  29. INCLUDE_DIRS= -I../include
  30. -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
  31. +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
  32. CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS)
  33. @@ -117,12 +117,12 @@
  34. #LIBS += -lshadow $(LIBS)
  35. endif
  36. -ifneq ($(wildcard /usr/include/crypt.h),)
  37. +#ifneq ($(wildcard /usr/include/crypt.h),)
  38. CFLAGS += -DHAVE_CRYPT_H=1
  39. -endif
  40. -ifneq ($(wildcard /usr/lib/libcrypt.*),)
  41. +#endif
  42. +#ifneq ($(wildcard /usr/lib/libcrypt.*),)
  43. LIBS += -lcrypt
  44. -endif
  45. +#endif
  46. ifdef NEEDDES
  47. ifndef USE_CRYPT