Index: Makefile =================================================================== --- Makefile (revision 469174) +++ Makefile (working copy) @@ -19,6 +19,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= fortran +.if !defined(ARCH) + ARCH!= uname -p +.endif +.if ${ARCH} == "amd64" + fortran_ARGS= flang + EXTRA_PATCHES= ${PATCHDIR}/flang-patch-make.inc.example +.endif OPTIONS_DEFINE= PROFILE SHARED STATIC OPTIONS_DEFAULT= SHARED STATIC Index: files/flang-patch-make.inc.example =================================================================== --- files/flang-patch-make.inc.example (nonexistent) +++ files/flang-patch-make.inc.example (working copy) @@ -0,0 +1,17 @@ +--- make.inc.example.orig 2018-05-05 11:59:27.891022000 -0700 ++++ make.inc.example 2018-05-05 11:59:38.966638000 -0700 +@@ -22,11 +22,11 @@ + # Timer for the SECOND and DSECND routines + # + # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME +-#TIMER = EXT_ETIME ++TIMER = EXT_ETIME + # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_ + # TIMER = EXT_ETIME_ + # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME +-TIMER = INT_ETIME ++#TIMER = INT_ETIME + # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...) + # SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME + # TIMER = INT_CPU_TIME + Property changes on: files/flang-patch-make.inc.example ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property