summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 11:07:26 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 11:07:26 +0000
commit6adce30d288e6c89f9247b8bced6dc1382b72c8f (patch)
tree9490af12e8dfdddce4107ac3a4cefe6c56ba0614 /lib/libfetch/Makefile
parent1578ed600d5f0f7553eff58b014cf5f74141ebcd (diff)
downloadFreeBSD-src-6adce30d288e6c89f9247b8bced6dc1382b72c8f.zip
FreeBSD-src-6adce30d288e6c89f9247b8bced6dc1382b72c8f.tar.gz
Convert libraries to use LIBADD
While here reduce a bit overlinking
Diffstat (limited to 'lib/libfetch/Makefile')
-rw-r--r--lib/libfetch/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile
index cef5f5a..4f56552 100644
--- a/lib/libfetch/Makefile
+++ b/lib/libfetch/Makefile
@@ -16,11 +16,9 @@ CFLAGS+= -DINET6
.if ${MK_OPENSSL} != "no"
CFLAGS+= -DWITH_SSL
-DPADD= ${LIBSSL} ${LIBCRYPTO}
-LDADD= -lssl -lcrypto
+LIBADD+= ssl crypto
.else
-DPADD= ${LIBMD}
-LDADD= -lmd
+LIBADD+= md
.endif
CFLAGS+= -DFTP_COMBINE_CWDS
OpenPOWER on IntegriCloud