aboutsummaryrefslogtreecommitdiff
path: root/bin/rmail
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 11:15:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 11:15:40 +0000
commit12cd1730ee44a04d5137368d62233dc38c7ce233 (patch)
tree464e2b0fe4b668bbca54a17c993842255230d630 /bin/rmail
parente859a32cd64103958b3b7d82470c54c222adcf98 (diff)
downloadsrc-12cd1730ee44a04d5137368d62233dc38c7ce233.tar.gz
src-12cd1730ee44a04d5137368d62233dc38c7ce233.zip
Convert bin/ to LIBADD, reduce overlinking allow to build all components as
static
Notes
Notes: svn path=/head/; revision=275028
Diffstat (limited to 'bin/rmail')
-rw-r--r--bin/rmail/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/rmail/Makefile b/bin/rmail/Makefile
index ad788a4745a8..a74898f853c7 100644
--- a/bin/rmail/Makefile
+++ b/bin/rmail/Makefile
@@ -14,11 +14,7 @@ MAN= rmail.8
WARNS?= 2
CFLAGS+=-I${SENDMAIL_DIR}/include -I.
-LIBSMDIR= ${.OBJDIR}/../../lib/libsm
-LIBSM= ${LIBSMDIR}/libsm.a
-
-DPADD= ${LIBSM}
-LDADD= ${LIBSM}
+LIBADD= sm
SRCS+= sm_os.h
CLEANFILES+=sm_os.h