svn commit: r479762 - head/science/cp2k

Jan Beich jbeich at FreeBSD.org
Fri Sep 14 14:39:50 UTC 2018


Mathieu Arnold <mat at FreeBSD.org> writes:

> On Fri, Sep 14, 2018 at 07:58:05AM +0000, Yuri Victorovich wrote:
>
>> +.include <bsd.port.options.mk>
>> +
>> +.if ${PORT_OPTIONS:MOPENMP} || ${PORT_OPTIONS:MOPENMP_MPI}
>> +pre-configure:
>> +	@if [ ! -e ${LOCALBASE}/lib/libfftw3_omp.so ] ; then \
>> +	  ${ECHO_MSG} "The OPENMP and OPENMP_MPI options require math/fftw3" ; \
>> +	  ${ECHO_MSG} "to be built and installed with the OPENMP option ON" ; \
>> +	  exit 1; \
>> +	fi
>> +.endif
>
> I keep wondering why you always try so hard to invent new ways of doing
> things.
>
> .if ${PORT_OPTIONS:MOPENMP} || ${PORT_OPTIONS:MOPENMP_MPI}
> . if !exists(${LOCALBASE}/lib/libfftw3_omp.so)
> BROKEN=	The OPENMP and OPENMP_MPI options require math/fftw3 to be built and installed with the OPENMP option ON
> . endif
> .endif

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166279 for an
example where your approach fails.


More information about the svn-ports-head mailing list