Date: Sat, 14 Aug 2010 22:53:45 +0200 From: =?ISO-8859-1?Q?Ren=E9_Ladan?= <r.c.ladan@gmail.com> To: freebsd ports <freebsd-ports@freebsd.org> Subject: Re: [RFC] installing stripped libraries Message-ID: <AANLkTikTxpjj-W5vHyPP_KmeRQaBgLYCnmXDG1DZnMw4@mail.gmail.com> In-Reply-To: <AANLkTi=GbW_LHDY%2Br1HHaeZ0gh3My4OB5TDuLmUzgEx6@mail.gmail.com> References: <AANLkTi=GbW_LHDY%2Br1HHaeZ0gh3My4OB5TDuLmUzgEx6@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000e0cd2175699ceb2048dcecb48 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2010/8/14 Ren=E9 Ladan <r.c.ladan@gmail.com>: > 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 TWsvYnNkLnBvcnQubWssdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNjQzCmRpZmYgL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Exf UFJPR1JBTT0iJHtJTlNUQUxMX1BST0dSQU19IiBcCiAJICAgIElOU1RBTExfU0NSSVBUPSIke0lO U1RBTExfU0NSSVBUfSIgXAogCSAgICAke0NPTkZJR1VSRV9FTlZ9IC4vJHtDT05GSUdVUkVfU0NS SVBUfSAke0NPTkZJR1VSRV9BUkdTfTsgdGhlbiBcCg== --000e0cd2175699ceb2048dcecb48--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikTxpjj-W5vHyPP_KmeRQaBgLYCnmXDG1DZnMw4>