summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r--usr.sbin/ppp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index 480fb2e..6581761 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -37,8 +37,12 @@ DPADD+= ${LIBALIAS}
DISTRIBUTION=des
CFLAGS+=-DHAVE_DES
SRCS+= chap_ms.c
-LDADD+= -ldes
-DPADD+= ${LIBDES}
+LDADD+= -lcrypto
+DPADD+= ${LIBCRYPTO}
+.if defined(RSAREF) && ${RSAREF} == YES
+LDADD+= -lRSAglue
+DPADD+= ${LIBRSAGLUE}
+.endif
.endif
.if defined(NORADIUS)
OpenPOWER on IntegriCloud