pcp
[Top] [All Lists]

Re: [pcp] RFC: invocation of revised configure/make system

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] RFC: invocation of revised configure/make system
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Thu, 19 Apr 2012 23:06:51 -0400
Cc: pcp developers <pcp@xxxxxxxxxxx>
In-reply-to: <1334886837.5884.12.camel@xxxxxxxxxxxxxxxx>
References: <20120419204235.GA18822@xxxxxxxxxx> <1334886837.5884.12.camel@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.4.2.2i
Hi -

> No objections from me ... sounds promising, so please drill down on how
> this would work.

The actual changes should be pretty small.  Some snippets of the
existing configure.in (computing pcp_lib_dir and siblings) would be
moved into Makepkgs, and replaced in configure.in by something like

  pcp_lib_dir=$libdir
  pcp_tmp_dir=$localstatedir/tmp
  pcp_run_dir=$localstatedir/run
  pcp_doc_dir=$docdir

etc.  The various GNUmakefiles would remain as unchanged as possible.
The perl/cpan files may need a hack to determine whether the MakeMaker
install tree should be the os-root or a custom $prefix; will try to
work that out.

I hope to try prototyping this sometime during next week, and plop it
along a fche/prefix branch on pcpfans.git as it goes along.  I'm not
fishing for any big-bang changes at all, just to slightly refactor the
current configury.

- FChE

<Prev in Thread] Current Thread [Next in Thread>