summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 11:23:12 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 11:23:12 +0000
commit6fdc031751627af3f5480588e8fd097c3a683ff6 (patch)
tree69f31f17bfe80e77e4f38188819e4e69f11b9f25 /sbin/hastd
parentb3accf4c8d5ec1d17667ddf40509a48d41bc2d91 (diff)
downloadFreeBSD-src-6fdc031751627af3f5480588e8fd097c3a683ff6.zip
FreeBSD-src-6fdc031751627af3f5480588e8fd097c3a683ff6.tar.gz
Convert sbin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'sbin/hastd')
-rw-r--r--sbin/hastd/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/hastd/Makefile b/sbin/hastd/Makefile
index 3604b5b..e3fed8d 100644
--- a/sbin/hastd/Makefile
+++ b/sbin/hastd/Makefile
@@ -30,11 +30,9 @@ CFLAGS+=-DINET
CFLAGS+=-DINET6
.endif
-DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBPTHREAD} ${LIBUTIL}
-LDADD= -lgeom -lbsdxml -lsbuf -lpthread -lutil
+LIBADD= geom pthread util
.if ${MK_OPENSSL} != "no"
-DPADD+= ${LIBCRYPTO}
-LDADD+= -lcrypto
+LIBADD+= crypto
CFLAGS+=-DHAVE_CRYPTO
.endif
OpenPOWER on IntegriCloud