prepare the move
This commit is contained in:
parent
84db74def7
commit
a2c438edf9
15
infrastructure/mk/fortran.port.mk
Normal file
15
infrastructure/mk/fortran.port.mk
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: fortran.port.mk,v 1.1 2010/05/23 08:59:36 espie Exp $
|
||||
|
||||
.if ${COMPILER_VERSION:L:Mgcc4*}
|
||||
MODFORTRAN_LIB_DEPENDS77 += g2c::devel/libf2c
|
||||
MODFORTRAN_WANTLIB77 += g2c::devel/libf2c
|
||||
MODFORTRAN_BUILD_DEPENDS77 += ::lang/g77
|
||||
.else
|
||||
MODFORTRAN_WANTLIB += g2c
|
||||
.endif
|
||||
|
||||
.if ${MODFORTRAN_WANTG77:L} == "yes"
|
||||
MODFORTRAN_LIB_DEPENDS += ${MODFORTRAN_LIB_DEPENDS77}
|
||||
MODFORTRAN_WANTLIB += ${MODFORTRAN_WANTLIB77}
|
||||
MODFORTRAN_BUILD_DEPENDS += ${MODFORTRAN_BUILD_DEPENDS77}
|
||||
.endif
|
Loading…
Reference in New Issue
Block a user