2018-05-30 08:45:58 +02:00
|
|
|
# $NetBSD: options.mk,v 1.3 2018/05/30 06:45:58 adam Exp $
|
2013-06-29 20:59:43 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.fftw
|
|
|
|
PKG_SUPPORTED_OPTIONS= fftw-fortran
|
|
|
|
# Enable fortran support by default on platforms supported by lang/g95.
|
|
|
|
.if (!empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) || \
|
|
|
|
!empty(MACHINE_ARCH:Mia64) || !empty(MACHINE_ARCH:Mpowerpc*) || \
|
|
|
|
!empty(MACHINE_ARCH:Mhppa) || !empty(MACHINE_ARCH:Msparc*) || \
|
|
|
|
!empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mmips*))
|
2013-07-09 17:46:45 +02:00
|
|
|
# ...but disable it until lang/g95 issue is resolved.
|
2018-05-30 08:45:58 +02:00
|
|
|
#PKG_SUGGESTED_OPTIONS= fftw-fortran
|
2013-06-29 20:59:43 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mfftw-fortran)
|
|
|
|
USE_LANGUAGES+= fortran77
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-fortran
|
|
|
|
.endif
|