standardize Makefile, change section from base to net for dropbear and utils for...
[openwrt.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 @@ -48,19 +48,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
28 @@ -77,7 +77,7 @@
29
30 INCLUDE_DIRS= -I../include
31
32 -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
33 +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
34
35 CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS)
36
37 @@ -117,12 +117,12 @@
38 #LIBS += -lshadow $(LIBS)
39 endif
40
41 -ifneq ($(wildcard /usr/include/crypt.h),)
42 +#ifneq ($(wildcard /usr/include/crypt.h),)
43 CFLAGS += -DHAVE_CRYPT_H=1
44 -endif
45 -ifneq ($(wildcard /usr/lib/libcrypt.*),)
46 +#endif
47 +#ifneq ($(wildcard /usr/lib/libcrypt.*),)
48 LIBS += -lcrypt
49 -endif
50 +#endif
51
52 ifdef NEEDDES
53 ifndef USE_CRYPT
This page took 0.057076 seconds and 5 git commands to generate.