aboutsummaryrefslogtreecommitdiff
path: root/lib/libradius
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 11:07:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 11:07:26 +0000
commit6b129086dcee14496517fae085b448e3edc69bc7 (patch)
tree9490af12e8dfdddce4107ac3a4cefe6c56ba0614 /lib/libradius
parentd98c8ac029f43d6d1b790246c01075b6eabf6a77 (diff)
downloadsrc-6b129086dcee14496517fae085b448e3edc69bc7.tar.gz
src-6b129086dcee14496517fae085b448e3edc69bc7.zip
Convert libraries to use LIBADD
While here reduce a bit overlinking
Notes
Notes: svn path=/head/; revision=275024
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 2b769d9ee61d..42f5def20ef1 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>