diff -Nuar ppp-2.4.5-orig/pppd/Makefile.linux ppp-2.4.5/pppd/Makefile.linux
--- ppp-2.4.5-orig/pppd/Makefile.linux	2014-07-09 13:46:29.897756216 -0400
+++ ppp-2.4.5/pppd/Makefile.linux	2014-07-09 13:47:16.605320212 -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,7 +169,7 @@
 endif
 
 ifdef FILTER
-ifneq ($(wildcard /usr/include/pcap-bpf.h),)
+ifdef HAS_LIBPCAP
 LIBS    += -lpcap
 CFLAGS  += -DPPP_FILTER
 endif
