200-makefile.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --- a/pppd/Makefile.linux
  2. +++ b/pppd/Makefile.linux
  3. @@ -48,7 +48,7 @@ MPPE=y
  4. # Uncomment the next line to include support for PPP packet filtering.
  5. # This requires that the libpcap library and headers be installed
  6. # and that the kernel driver support PPP packet filtering.
  7. -FILTER=y
  8. +#FILTER=y
  9. # Uncomment the next line to enable multilink PPP (enabled by default)
  10. # Linux distributions: Please leave multilink ENABLED in your builds
  11. @@ -58,11 +58,11 @@ HAVE_MULTILINK=y
  12. # Uncomment the next line to enable the TDB database (enabled by default.)
  13. # If you enable multilink, then TDB is automatically enabled also.
  14. # Linux distributions: Please leave TDB ENABLED in your builds.
  15. -USE_TDB=y
  16. +#USE_TDB=y
  17. -HAS_SHADOW=y
  18. +#HAS_SHADOW=y
  19. #USE_PAM=y
  20. -#HAVE_INET6=y
  21. +HAVE_INET6=y
  22. # Enable plugins
  23. PLUGIN=y
  24. @@ -77,7 +77,7 @@ MAXOCTETS=y
  25. INCLUDE_DIRS= -I../include
  26. -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
  27. +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
  28. CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
  29. @@ -117,10 +117,10 @@ CFLAGS += -DHAS_SHADOW
  30. #LIBS += -lshadow $(LIBS)
  31. endif
  32. -ifneq ($(wildcard /usr/include/crypt.h),)
  33. +#ifneq ($(wildcard /usr/include/crypt.h),)
  34. CFLAGS += -DHAVE_CRYPT_H=1
  35. LIBS += -lcrypt
  36. -endif
  37. +#endif
  38. ifdef NEEDDES
  39. ifndef USE_CRYPT