summaryrefslogtreecommitdiff
path: root/recipes/ppp/ppp-2.4.4/makefile-remove-hard-usr-reference.patch
diff options
context:
space:
mode:
authorEvan Doiron <edoiron@cbnco.com>2009-08-26 04:18:47 +0000
committerMichael Smith <msmith@cbnco.com>2009-08-26 13:34:34 -0400
commitf6c302378fdc3b1029358bfc4ebcb75082f46480 (patch)
tree96006bb63106a670ceb03f555c8b0dedc457aa05 /recipes/ppp/ppp-2.4.4/makefile-remove-hard-usr-reference.patch
parent70ddea99eedb41caf9f649c7266ddeccf7e8e875 (diff)
ppp: add v2.4.4
Signed-off-by: Evan Doiron <edoiron@cbnco.com> Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/ppp/ppp-2.4.4/makefile-remove-hard-usr-reference.patch')
-rw-r--r--recipes/ppp/ppp-2.4.4/makefile-remove-hard-usr-reference.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/ppp/ppp-2.4.4/makefile-remove-hard-usr-reference.patch b/recipes/ppp/ppp-2.4.4/makefile-remove-hard-usr-reference.patch
new file mode 100644
index 0000000000..b907002f48
--- /dev/null
+++ b/recipes/ppp/ppp-2.4.4/makefile-remove-hard-usr-reference.patch
@@ -0,0 +1,28 @@
+--- ppp-2.4.4/pppd/Makefile.linux.orig 2009-08-24 14:28:02.000000000 -0400
++++ ppp-2.4.4/pppd/Makefile.linux 2009-08-24 14:42:58.000000000 -0400
+@@ -117,10 +117,10 @@
+ #LIBS += -lshadow $(LIBS)
+ endif
+
+-ifneq ($(wildcard /usr/include/crypt.h),)
++#ifneq ($(wildcard /usr/include/crypt.h),)
+ CFLAGS += -DHAVE_CRYPT_H=1
+ LIBS += -lcrypt
+-endif
++#endif
+
+ ifdef NEEDDES
+ ifndef USE_CRYPT
+@@ -169,10 +169,10 @@
+ endif
+
+ ifdef FILTER
+-ifneq ($(wildcard /usr/include/pcap-bpf.h),)
++#ifneq ($(wildcard /usr/include/pcap-bpf.h),)
+ LIBS += -lpcap
+ CFLAGS += -DPPP_FILTER
+-endif
++#endif
+ endif
+
+ ifdef HAVE_INET6