aec6d8bd65c93a23767e4eddf3a8724eb4d07039
[openwrt-10.03/.git] / package / ppp / patches / 200-makefile.patch
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  
12  # Uncomment the next line to enable multilink PPP (enabled by default)
13  # Linux distributions: Please leave multilink ENABLED in your builds
14  # of pppd!
15 -HAVE_MULTILINK=y
16 +#HAVE_MULTILINK=y
17  
18  # Uncomment the next line to enable the TDB database (enabled by default.)
19  # If you enable multilink, then TDB is automatically enabled also.
20  # Linux distributions: Please leave TDB ENABLED in your builds.
21 -USE_TDB=y
22 +#USE_TDB=y
23  
24 -HAS_SHADOW=y
25 +#HAS_SHADOW=y
26  #USE_PAM=y
27 -#HAVE_INET6=y
28 +HAVE_INET6=y
29  
30  # Enable plugins
31  PLUGIN=y
32 @@ -77,7 +77,7 @@
33  
34  INCLUDE_DIRS= -I../include
35  
36 -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
37 +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
38  
39  CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS)
40  
41 @@ -117,12 +117,12 @@
42  #LIBS     += -lshadow $(LIBS)
43  endif
44  
45 -ifneq ($(wildcard /usr/include/crypt.h),)
46 +#ifneq ($(wildcard /usr/include/crypt.h),)
47  CFLAGS   += -DHAVE_CRYPT_H=1
48 -endif
49 -ifneq ($(wildcard /usr/lib/libcrypt.*),)
50 +#endif
51 +#ifneq ($(wildcard /usr/lib/libcrypt.*),)
52  LIBS   += -lcrypt
53 -endif
54 +#endif
55  
56  ifdef NEEDDES
57  ifndef USE_CRYPT