diff options
author | Maho Nakata <maho@FreeBSD.org> | 2011-10-18 01:57:23 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2011-10-18 01:57:23 +0000 |
commit | 1b0c31597d625134ec4ba73bdb5c0c889c858301 (patch) | |
tree | 1986fd72c0387ab917143a250d759b1aeb5114e8 /science | |
parent | f082a747dd8abc807b9d1d38cff34db53d501775 (diff) | |
download | ports-1b0c31597d625134ec4ba73bdb5c0c889c858301.tar.gz ports-1b0c31597d625134ec4ba73bdb5c0c889c858301.zip |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/gamess/Makefile | 1 | ||||
-rw-r--r-- | science/gamess/files/patch-comp | 8 | ||||
-rw-r--r-- | science/gamess/files/patch-lked | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/science/gamess/Makefile b/science/gamess/Makefile index 2716a30e98c7..7bddda49b399 100644 --- a/science/gamess/Makefile +++ b/science/gamess/Makefile @@ -100,6 +100,7 @@ pre-build: @${REINPLACE_CMD} -e 's+%%ARCH%%+freebsd-i386+g' ${WRKSRC}/lked .endif @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; \ + s+%%LDFLAGS%%+${LDFLAGS}+g ; \ s+%%LOCALBASE%%+${LOCALBASE}+g ; \ s+%%LIBSVM%%+${LIBSVM}+g ; \ s+%%LIBG2C%%+${LIBG2C}+g ; \ diff --git a/science/gamess/files/patch-comp b/science/gamess/files/patch-comp index 1327f95fe9a1..67f1301b08d7 100644 --- a/science/gamess/files/patch-comp +++ b/science/gamess/files/patch-comp @@ -125,7 +125,7 @@ + rm -f $MODULE.junk + endif + set echo -+ %%FC%% -c $OPT -malign-double -fautomatic \ ++ %%FC%% -c %%FFLAGS%% $OPT -malign-double -fautomatic \ + -Wno-globals -fno-globals $MODULE.f + unset echo + breaksw @@ -152,7 +152,7 @@ + rm -f $MODULE.junk + endif + set echo -+ %%FC%% -c $OPT -std=legacy $MODULE.f ++ %%FC%% -c $OPT %%FFLAGS%% -std=legacy $MODULE.f + unset echo + breaksw +# @@ -266,7 +266,7 @@ + rm -f $MODULE.junk + endif + set echo -+ %%FC%% -c -fdefault-integer-8 $OPT -std=legacy $MODULE.f ++ %%FC%% -c %%FFLAGS%% -fdefault-integer-8 $OPT -std=legacy $MODULE.f + unset echo + breaksw + @@ -275,7 +275,7 @@ + if ($MODULE == delocl) set OPT='-O0' + if ($MODULE == zheev) set OPT='-O0' + set echo -+ %%FC%% -c -i8 $OPT -auto -assume byterecl -w95 -cm $MODULE.f ++ %%FC%% -c -i8 %%FFLAGS%% $OPT -auto -assume byterecl -w95 -cm $MODULE.f + unset echo + breaksw +# diff --git a/science/gamess/files/patch-lked b/science/gamess/files/patch-lked index e6b02f0f2188..a45c76e5f23f 100644 --- a/science/gamess/files/patch-lked +++ b/science/gamess/files/patch-lked @@ -22,7 +22,7 @@ +#FreeBSD settings +if ($TARGET == freebsd-i386) then + set LDR=%%FC%% -+ set LDOPTS='' ++ set LDOPTS='%%LDFLAGS%%' + set LIBRARIES='' + set BLAS="-L%%LOCALBASE%%/lib %%BLAS%% %%LIBSVM%% %%LIBG2C%%" + set VECTOR=' ' @@ -30,7 +30,7 @@ +endif +if ($TARGET == freebsd-amd64) then + set LDR=%%FC%% -+ set LDOPTS='' ++ set LDOPTS='%%LDFLAGS%%' + set LIBRARIES='' + set BLAS="-L%%LOCALBASE%%/lib %%BLAS%%" + set VECTOR=' ' |