Add ipv6 support to PPP
[openwrt/svn-archive/archive.git] / package / ppp / patches / 200-makefile.patch
1 diff -ruN ppp-2.4.3-orig/pppd/Makefile.linux ppp-2.4.3-3/pppd/Makefile.linux
2 --- ppp-2.4.3-orig/pppd/Makefile.linux 2004-11-13 13:02:22.000000000 +0100
3 +++ ppp-2.4.3-3/pppd/Makefile.linux 2004-12-16 04:43:41.000000000 +0100
4 @@ -49,19 +49,19 @@
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
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
17 # Uncomment the next line to enable the TDB database (enabled by default.)
18 # If you enable multilink, then TDB is automatically enabled also.
19 # Linux distributions: Please leave TDB ENABLED in your builds.
20 -USE_TDB=y
21 +#USE_TDB=y
22
23 -HAS_SHADOW=y
24 +#HAS_SHADOW=y
25 #USE_PAM=y
26 -#HAVE_INET6=y
27 +HAVE_INET6=y
28
29 @@ -77,7 +77,7 @@
30
31 INCLUDE_DIRS= -I../include
32
33 -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
34 +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
35
36 CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS)
37
38 @@ -117,12 +117,12 @@
39 #LIBS += -lshadow $(LIBS)
40 endif
41
42 -ifneq ($(wildcard /usr/include/crypt.h),)
43 +#ifneq ($(wildcard /usr/include/crypt.h),)
44 CFLAGS += -DHAVE_CRYPT_H=1
45 -endif
46 -ifneq ($(wildcard /usr/lib/libcrypt.*),)
47 +#endif
48 +#ifneq ($(wildcard /usr/lib/libcrypt.*),)
49 LIBS += -lcrypt
50 -endif
51 +#endif
52
53 ifdef NEEDDES
54 ifndef USE_CRYPT