From 60f1019c3eed881a9253aa02d5e1dc7688970115 Mon Sep 17 00:00:00 2001 From: pjd Date: Tue, 20 May 2008 12:24:31 +0000 Subject: - 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. --- sbin/swapon/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sbin/swapon/Makefile') 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 -- cgit v1.1