From owner-freebsd-java@FreeBSD.ORG Mon Oct 17 14:00:04 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1EA916A41F; Mon, 17 Oct 2005 14:00:03 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from blue.virtual-estates.net (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEB9643D48; Mon, 17 Oct 2005 14:00:02 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from blue.virtual-estates.net (blue [127.0.0.1]) by blue.virtual-estates.net (8.13.4/8.13.4) with ESMTP id j9HDxxeb088437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Oct 2005 09:59:59 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by blue.virtual-estates.net (8.13.4/8.13.4/Submit) id j9HDxw0d088436; Mon, 17 Oct 2005 09:59:58 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) X-Authentication-Warning: blue.virtual-estates.net: mi set sender to mi+kde@aldan.algebra.com using -f From: Mikhail Teterin To: Panagiotis Astithas Date: Mon, 17 Oct 2005 09:59:58 -0400 User-Agent: KMail/1.8.2 References: <200510161507.j9GF7ACB003843@blue.virtual-estates.net> <4352A0F8.9030902@ebs.gr> In-Reply-To: <4352A0F8.9030902@ebs.gr> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: java@freebsd.org, phantom@freebsd.org, "Simon L. Nielsen" Subject: Re: JDK should use system's zlib X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2005 14:00:04 -0000 On Sunday 16 October 2005 02:50 pm, Panagiotis Astithas wrote: = > @@ -307,2 +307,4 @@ = > = > .include = > + = > +EXTRACT_AFTER_ARGS+= -x '*/zlib-*/*' = Seems to be working fine in my testing so far. As a side-effect it has = shaved 52KB off the libzip.so binary and a total of 4MB on a debug = installation. On a side note: does EXTRACT_AFTER_ARGS really have to = go to the end of the Makefile? Yes, unless you wish to spell them out in full. bsd.port.mk will only set this variable, if it is not set already :-( So, if you want to just _append_ some flags, you have to do that at the end. On Sunday 16 October 2005 05:35 pm, Simon L. Nielsen wrote: = And even better (from my point of view anyway :-) ) - we don't have to = track security vulnerabilities in the ancient embeded zlib Ok, then, who is going to do the same thing with libjpeg :-) ? -mi