200-makefile.patch 1.3 KB

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