pcp
[Top] [All Lists]

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

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: [pcp] RFC: invocation of revised configure/make system
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Fri, 20 Apr 2012 13:54:35 +1000
Cc: pcp@xxxxxxxxxxx
In-reply-to: <20120420030651.GC18822@xxxxxxxxxx>
References: <20120419204235.GA18822@xxxxxxxxxx> <1334886837.5884.12.camel@xxxxxxxxxxxxxxxx> <20120420030651.GC18822@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1
On 04/20/2012 01:06 PM, Frank Ch. Eigler wrote:
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

For an RPM spec+tarball driven build that does not use Makepkgs
I guess we'd have to compute pcp_lib_dir and siblings in the %prep
section, prior to calling %configure .. right?

FYI the current Fedora PCP spec is at:
ftp://oss.sgi.com/projects/pcp/download/rpm/3.6.1-1/pcp.spec
(note it does not currently use %configure), and the src tarball is
ftp://oss.sgi.com/projects/pcp/download/rpm/3.6.1-1/pcp-3.6.1-1.src.tar.gz

Regards
-- Mark

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