200-makefile.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --- a/pppd/Makefile.linux
  2. +++ b/pppd/Makefile.linux
  3. @@ -48,21 +48,21 @@ 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. # of pppd!
  12. -HAVE_MULTILINK=y
  13. +#HAVE_MULTILINK=y
  14. # Uncomment the next line to enable the TDB database (enabled by default.)
  15. # If you enable multilink, then TDB is automatically enabled also.
  16. # Linux distributions: Please leave TDB ENABLED in your builds.
  17. -USE_TDB=y
  18. +#USE_TDB=y
  19. -HAS_SHADOW=y
  20. +#HAS_SHADOW=y
  21. #USE_PAM=y
  22. -#HAVE_INET6=y
  23. +HAVE_INET6=y
  24. # Enable plugins
  25. PLUGIN=y
  26. @@ -77,7 +77,7 @@ MAXOCTETS=y
  27. INCLUDE_DIRS= -I../include
  28. -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
  29. +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
  30. CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
  31. @@ -117,10 +117,10 @@ CFLAGS += -DHAS_SHADOW
  32. #LIBS += -lshadow $(LIBS)
  33. endif
  34. -ifneq ($(wildcard /usr/include/crypt.h),)
  35. +#ifneq ($(wildcard /usr/include/crypt.h),)
  36. CFLAGS += -DHAVE_CRYPT_H=1
  37. LIBS += -lcrypt
  38. -endif
  39. +#endif
  40. ifdef NEEDDES
  41. ifndef USE_CRYPT