Mailing List talk@openhack.ru Message #22
From: Tomash Brechko <tomash.brechko@gmail.com>
Subject: Re: patch to makefiles
Date: Wed, 2 Apr 2008 10:50:47 +0400
To: talk@openhack.ru
Hello Vladimir,

And thanks for the patch. I have a few questions to ask though.


On Wed, Apr 02, 2008 at 08:08:52 +0400, Vladimir Timofeev wrote:
> 1. optionify optimization flags so by default they sets same as perl
> itself. This, for example, allow freebsd's ports compile module with
> default system settings. For old flags: perl Makefile.PL OPTIMIZE='-g
> -O3'

I agree that adding explicit OPTIMIZE was a bad idea. I wanted to
enforce -O3 to squeeze the last drop of performance, but this way one
may miss some vital flag for the current Perl installation. So I
removed OPTIMIZE from the makefiles. I also added clean => target
from your patch for generated files.


> 2. resolve first item in TODO (it not installed libclient.a at all),
> files after install (on freebsd):

The first TODO item reads

  - Improve make files: libclient.a should not be installed (does it
    now?).

I guess your patch does the opposite. I.e. I do _not_ want
libclient.a to be installed, and I'm not quite sure how to control
this. You report that it wasn't installed on FreeBSD, which I think
is good, but it is installed on Linux (at least on Fedora 8). So, do
you know how to disable the installation of this library? libclient.a
is ment to be internal. Or are there any good reasons to install it?


--
   Tomash Brechko
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster