From owner-freebsd-ports@FreeBSD.ORG Sat Aug 14 20:53:47 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05230106567A for ; Sat, 14 Aug 2010 20:53:47 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7708FC17 for ; Sat, 14 Aug 2010 20:53:46 +0000 (UTC) Received: by wyj26 with SMTP id 26so5174115wyj.13 for ; Sat, 14 Aug 2010 13:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=ApriWCz9uE/HsRQrUu5LI/w3xGy01Y+NmiPNhlVG/Ug=; b=mdMcKdVp4TwxTWGzHwIq5IN4JPWNPGdUsaQ5QpmODhdq9ia4H0au00iX76SAXpumQC KEDzT2Eennpdw4qhDWJ+o+M9+WWoR1XpoEThSytBuMVss3O47pJX39bj4uVU3rCRzrjP Khl23w82yFe+11OYVDzxJHcqrL8gfwk5Nlztc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nTYVLCpW6+pccQHy0kOWhKoXCPRnKQpy7sI5TW15p7MglR3HpGgFlTFowjT9/rJDCL 88A167wThbVLCsmquZ1+2Jq6MDqfNhrBypovfnE7ByzknybJvhlsZ4qtJLdhU6AfPkFU tmNkCRoQCRHkSifSmSG80bcErSYFYqwNWo8jE= MIME-Version: 1.0 Received: by 10.227.94.138 with SMTP id z10mr2789398wbm.166.1281819225476; Sat, 14 Aug 2010 13:53:45 -0700 (PDT) Received: by 10.227.36.193 with HTTP; Sat, 14 Aug 2010 13:53:45 -0700 (PDT) In-Reply-To: References: Date: Sat, 14 Aug 2010 22:53:45 +0200 Message-ID: From: =?ISO-8859-1?Q?Ren=E9_Ladan?= To: freebsd ports Content-Type: multipart/mixed; boundary=000e0cd2175699ceb2048dcecb48 Subject: Re: [RFC] installing stripped libraries X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 20:53:47 -0000 --000e0cd2175699ceb2048dcecb48 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2010/8/14 Ren=E9 Ladan : > Hi, > > I was thinking about adding a INSTALL_LIBRARY target to bsd.port.mk > to strip and install libraries. Currently manually installing libraries i= s > done with INSTALL_DATA, but this does not strip them. It would save > some bytes in the resulting package, but also take more CPU time. > I've attached a patch against bsd.port.mk, I'm not sure if defining BSD_INSTALL_LIB or the INSTALL_LIB in the last chunk which is part of a command that gets executed when HAS_CONFIGURE is defined will make any difference. > > Feedback is appreciated. > Regards, Rene -- http://www.rene-ladan.nl/ GPG fingerprint =3D E738 5471 D185 7013 0EE0=A0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) --000e0cd2175699ceb2048dcecb48 Content-Type: application/octet-stream; name="bsd.port.mk.diff" Content-Disposition: attachment; filename="bsd.port.mk.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gcuy2bub0 SW5kZXg6IGJzZC5wb3J0Lm1rCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9ob21lL3BjdnMvcG9ydHMv TWsvYnNkLnBvcnQubWssdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNjQzCmRpZmYgLXUgLXIxLjY0 MyBic2QucG9ydC5tawotLS0gYnNkLnBvcnQubWsJMTUgSnVsIDIwMTAgMTQ6NDg6NTAgLTAwMDAJ MS42NDMKKysrIGJzZC5wb3J0Lm1rCTE0IEF1ZyAyMDEwIDIwOjQxOjEwIC0wMDAwCkBAIC0yODgs MTIgKzI4OCwxMiBAQAogIyBzZXR0YWJsZSBvcHRpb25zLiAgKFNldHRpbmcgVVNFXyogaW4gL2V0 Yy9tYWtlLmNvbmYgaXMgYWx3YXlzIHdyb25nKS4KICMKICMgV0lUSF9ERUJVRyAgICAgICAgICAg IC0gSWYgc2V0LCBkZWJ1Z2dpbmcgZmxhZ3MgYXJlIGFkZGVkIHRvIENGTEFHUyBhbmQgdGhlCi0j ICAgICAgICAgICAgICAgICAgICAgICAgIGJpbmFyaWVzIGRvbid0IGdldCBzdHJpcHBlZCBieSBJ TlNUQUxMX1BST0dSQU0uCi0jICAgICAgICAgICAgICAgICAgICAgICAgIEJlc2lkZXMsIGluZGl2 aWR1YWwgcG9ydHMgbWlnaHQgYWRkIHRoZWlyIHNwZWNpZmljCi0jICAgICAgICAgICAgICAgICAg ICAgICAgIHRvIHByb2R1Y2UgYmluYXJpZXMgZm9yIGRlYnVnZ2luZyBwdXJwb3Nlcy4KLSMgICAg ICAgICAgICAgICAgICAgICAgICAgWW91IGNhbiBvdmVycmlkZSB0aGUgZGVidWcgZmxhZ3MgdGhh dCBhcmUgcGFzc2VkIHRvCi0jICAgICAgICAgICAgICAgICAgICAgICAgIHRoZSBjb21waWxlciBi eSBzZXR0aW5nIERFQlVHX0ZMQUdTLiBJdCBpcyBzZXQgdG8KLSMgICAgICAgICAgICAgICAgICAg ICAgICAgIi1nIiBhdCBkZWZhdWx0LgorIyAgICAgICAgICAgICAgICAgICAgICAgICBiaW5hcmll cyBkb24ndCBnZXQgc3RyaXBwZWQgYnkgSU5TVEFMTF9QUk9HUkFNIG9yCisjICAgICAgICAgICAg ICAgICAgICAgICAgIElOU1RBTExfTElCLiBCZXNpZGVzLCBpbmRpdmlkdWFsIHBvcnRzIG1pZ2h0 CisjICAgICAgICAgICAgICAgICAgICAgICAg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