aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch')
-rw-r--r--recipes/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch b/recipes/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch
new file mode 100644
index 0000000000..b907002f48
--- /dev/null
+++ b/recipes/ppp/ppp-2.4.5/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