On Fri, May 3, 2019 at 2:00 AM Mathieu Arnold <m...@freebsd.org> wrote:
>
> On Thu, May 02, 2019 at 05:41:45PM -0600, Adam Weinberger wrote:
> > On Thu, May 2, 2019 at 3:36 PM Peter Jeremy <pe...@rulingia.com> wrote:
> > >
> > > Doing a "make describe" (part of "make index") in 
> > > /usr/ports/science/ALPSCore
> > > now generates extraneous output as below.  Could you please look into 
> > > this.
> > >
> > > server% make describe
> > > sh: /usr/local/mpi/openmpi2/bin/mpicc: not found
> > > make: "/usr/ports/Mk/Uses/compiler.mk" line 78: warning: 
> > > "/usr/local/mpi/openmpi2/bin/mpicc --version" returned non-zero status
> > > make: "/usr/ports/Mk/Uses/compiler.mk" line 133: warning: 
> > > "/usr/local/mpi/openmpi2/bin/mpicxx -### /dev/null 2>&1" returned 
> > > non-zero status
> > > ALPSCore-2.2.0_7|/usr/ports/science/ALPSCore|/usr/local|Generic 
> > > algorithms and utilities for condensed matter 
> > > physics|/usr/ports/science/ALPSCore/pkg-descr|po...@freebsd.org|science||||/usr/ports/devel/boost-libs
> > >  /usr/ports/devel/cmake /usr/ports/devel/ninja /usr/ports/math/eigen3 
> > > /usr/ports/net/openmpi2 /usr/ports/science/hdf5 
> > > /usr/ports/science/szip|/usr/ports/devel/boost-libs 
> > > /usr/ports/net/openmpi2 /usr/ports/science/hdf5 
> > > /usr/ports/science/szip|https://github.com/ALPSCore/ALPSCore
> > >
> > > --
> > > Peter Jeremy
> >
> > I was wondering about this too. Perhaps instead of _VARS, this should be 
> > using
> > OPENMPI2_CONFIGURE_ENV= cc=... cxx=...
> > OPENMPI2_MAKE_ENV= cc=... cxx=...
>
> You can only change CC/CXX after bsd.port.pre.mk otherwise it breaks
> bits of the framework like compiler.mk.
>
> This should probably be changed to a .if PORT_OPTIONS:Mxxxx test after
> includ'ing bsd.port.pre.mk.

Of course, that makes sense. Setting CONFIGURE/MAKE_ENV would fix only
the "make describe".

# Adam



-- 
Adam Weinberger
ad...@adamw.org
https://www.adamw.org
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to