summaryrefslogtreecommitdiffstats
path: root/sbin/swapon/Makefile
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2008-05-20 12:24:31 +0000
committerpjd <pjd@FreeBSD.org>2008-05-20 12:24:31 +0000
commit60f1019c3eed881a9253aa02d5e1dc7688970115 (patch)
tree515c62e9c67b6d288fceb126ee73a7de8dc13fb0 /sbin/swapon/Makefile
parent0c5e80cf387d57ff83257ba8ff78ee9971f05118 (diff)
downloadFreeBSD-src-60f1019c3eed881a9253aa02d5e1dc7688970115.zip
FreeBSD-src-60f1019c3eed881a9253aa02d5e1dc7688970115.tar.gz
- Change the meaning of -h flag from giving the output in megabytes to
giving the output in a human-readable form. This behaviour is consistent with most of system tools. - Add -m and -g options to give output in megabytes and gigabytes respectively.
Diffstat (limited to 'sbin/swapon/Makefile')
-rw-r--r--sbin/swapon/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/swapon/Makefile b/sbin/swapon/Makefile
index 85b0f0a..6f8e8df 100644
--- a/sbin/swapon/Makefile
+++ b/sbin/swapon/Makefile
@@ -8,4 +8,7 @@ LINKS+= ${BINDIR}/swapon ${BINDIR}/swapctl
MLINKS= swapon.8 swapoff.8
MLINKS+=swapon.8 swapctl.8
+DPADD= ${LIBUTIL}
+LDADD= -lutil
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud