summaryrefslogtreecommitdiffstats
path: root/lib/libradius
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
committersjg <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
commit65145fa4c81da358fcbc3b650156dab705dfa34e (patch)
tree55c065b6730aaac2afb6c29933ee6ec5fa4c4249 /lib/libradius
parent60ff4eb0dff94a04d75d0d52a3957aaaf5f8c693 (diff)
parente6b664c390af88d4a87208bc042ce503da664c3b (diff)
downloadFreeBSD-src-65145fa4c81da358fcbc3b650156dab705dfa34e.zip
FreeBSD-src-65145fa4c81da358fcbc3b650156dab705dfa34e.tar.gz
Merge sync of head
Diffstat (limited to 'lib/libradius')
-rw-r--r--lib/libradius/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libradius/Makefile b/lib/libradius/Makefile
index 2b769d9..42f5def 100644
--- a/lib/libradius/Makefile
+++ b/lib/libradius/Makefile
@@ -70,13 +70,11 @@ MLINKS+=libradius.3 rad_acct_open.3 \
WARNS?= 3
-.if ${MK_OPENSSL} == "no"
-DPADD= ${LIBMD}
-LDADD= -lmd
-.else
-DPADD= ${LIBCRYPTO}
-LDADD= -lcrypto
+.if ${MK_OPENSSL} != "no"
+LIBADD+= crypto
CFLAGS+= -DWITH_SSL
+.else
+LIBADD+= md
.endif
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud