From ae91fee256bcf6c8bcb27d01d12f25244c5a887c Mon Sep 17 00:00:00 2001 From: Xin LI Date: Mon, 22 Mar 2010 21:19:17 +0000 Subject: [PATCH] Enable mmap for minigzip(1). --- usr.bin/minigzip/Makefile | 9 ++++++--- 1 file 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