ports r500205 generates extraneous "make describe"

Mathieu Arnold mat at FreeBSD.org
Fri May 3 08:00:49 UTC 2019


On Thu, May 02, 2019 at 05:41:45PM -0600, Adam Weinberger wrote:
> On Thu, May 2, 2019 at 3:36 PM Peter Jeremy <peter at 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|ports at 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.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20190503/944542ac/attachment.sig>


More information about the freebsd-ports mailing list