lam/MPI with trillium libraries

Scot Hetzel swhetzel at gmail.com
Tue Aug 14 17:14:02 PDT 2007


On 8/14/07, Nikola Lecic <nlecic at eunet.yu> wrote:
> On Tue, 14 Aug 2007 18:39:08 -0500
> "Scot Hetzel" <swhetzel at gmail.com> wrote:
>
> > On 8/14/07, James <oscartheduck at gmail.com> wrote:
> > > I'm looking to build a copy of a debugging program called XMPI. For
> > > this to work, I have to have lam/MPI installed with the trillium
> > > libraries.
> > >
> > > I couldn't see any easy way to tell the net/lam port to install
> > > itself with these libraries, though it makes some measure of sense
> > > to me that there ought to be one. Is anyone out there aware of any
> > > way to do this? It's typically passed as  a flag
> > > during ./configure, so if I'm just uninformed as to the ways of
> > > ports and there's an easy way to pass that in, that'd be a great
> > > solution.
> > >
> >
> > Edit the ports Makefile and add the flag to CONFIGURE_ARGS.
> >
> > If you want to make this flag conditional, add:
> >
> > .if defined(WITH_MYOPTION)
> > CONFIGURE_ARGS+= --enable-my-option
> > .endif
> >
> > after "CONFIGURE_ARGS=" in the Makefile.
>
> Yes, but changes like this will be erased by 'portsnap fetch update'
> after the next net/lam port revision.
>
It depends on how the ports are updated.  cvs -q update -P -d won't
make the change disappear.  Or if the change is submitted in a PR.

Scot

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list