Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2010 22:52:13 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r206949 - stable/8/usr.bin/minigzip
Message-ID:  <201004202252.o3KMqDEV068991@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue Apr 20 22:52:13 2010
New Revision: 206949
URL: http://svn.freebsd.org/changeset/base/206949

Log:
  MFC r205472:
  
  Enable mmap for minigzip(1).

Modified:
  stable/8/usr.bin/minigzip/Makefile
Directory Properties:
  stable/8/usr.bin/minigzip/   (props changed)

Modified: stable/8/usr.bin/minigzip/Makefile
==============================================================================
--- stable/8/usr.bin/minigzip/Makefile	Tue Apr 20 22:47:24 2010	(r206948)
+++ stable/8/usr.bin/minigzip/Makefile	Tue Apr 20 22:52:13 2010	(r206949)
@@ -1,8 +1,12 @@
 # $FreeBSD$
 
+SRCDIR=	${.CURDIR}/../../lib/libz
+.PATH:	${SRCDIR}
+
 PROG=	minigzip
-LDADD=	-lz
+
+CFLAGS+=-DUSE_MMAP
 DPADD=	${LIBZ}
-.PATH:	${.CURDIR}/../../lib/libz
+LDADD=	-lz
 
 .include <bsd.prog.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004202252.o3KMqDEV068991>