aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/minigzip
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2010-03-22 21:19:17 +0000
committerXin LI <delphij@FreeBSD.org>2010-03-22 21:19:17 +0000
commitae91fee256bcf6c8bcb27d01d12f25244c5a887c (patch)
tree4a14329dc63ae8d8155f2db460936ceedd2a2b80 /usr.bin/minigzip
parent798aea00f8cda53d72ae7aaa0c514d985678322f (diff)
downloadsrc-ae91fee256bcf6c8bcb27d01d12f25244c5a887c.tar.gz
src-ae91fee256bcf6c8bcb27d01d12f25244c5a887c.zip
Enable mmap for minigzip(1).
Notes
Notes: svn path=/head/; revision=205472
Diffstat (limited to 'usr.bin/minigzip')
-rw-r--r--usr.bin/minigzip/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/minigzip/Makefile b/usr.bin/minigzip/Makefile
index 9a0ab9560fec..21b09240844d 100644
--- a/usr.bin/minigzip/Makefile
+++ b/usr.bin/minigzip/Makefile
@@ -1,10 +1,13 @@
# $FreeBSD$
+SRCDIR= ${.CURDIR}/../../lib/libz
+.PATH: ${SRCDIR}
+
PROG= minigzip
-LDADD= -lz
-DPADD= ${LIBZ}
-.PATH: ${.CURDIR}/../../lib/libz
WARNS?= 5
+CFLAGS+=-DUSE_MMAP
+DPADD= ${LIBZ}
+LDADD= -lz
.include <bsd.prog.mk>