mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix build on 4-STABLE
PR: ports/55671 Submitted by: Thierry Thomas <thierry@pompo.net>
This commit is contained in:
parent
1ea480c8ef
commit
cd479d6723
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87204
2 changed files with 7 additions and 6 deletions
|
@ -48,6 +48,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot \
|
||||||
EXTRACT_CMD= ${TAR}
|
EXTRACT_CMD= ${TAR}
|
||||||
EXTRACT_BEFORE_ARGS= -xf
|
EXTRACT_BEFORE_ARGS= -xf
|
||||||
EXTRACT_AFTER_ARGS= # empty
|
EXTRACT_AFTER_ARGS= # empty
|
||||||
|
USE_GCC= 3.2
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
REINPLACE_ARGS= -i ""
|
REINPLACE_ARGS= -i ""
|
||||||
|
@ -60,10 +61,6 @@ PKGMESSAGE= ${PKGDIR}/pkg-message.sans-astk
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 500000
|
|
||||||
#BROKEN= Does not build on systems prior 5.x - work in progress...
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_BLAS)
|
.if defined(WITH_BLAS)
|
||||||
LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
|
LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
|
||||||
.else
|
.else
|
||||||
|
@ -106,7 +103,11 @@ PLIST_SUB+= HOMARD="@comment " HOMARDDIR=""
|
||||||
RUN_DEPENDS+= ${PYNUMERIC}
|
RUN_DEPENDS+= ${PYNUMERIC}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${OSVERSION} < 500039
|
||||||
|
F77= g77-${USE_GCC:C/\.//}
|
||||||
|
.else
|
||||||
F77?= f77
|
F77?= f77
|
||||||
|
.endif
|
||||||
FFLAGS?= -O2
|
FFLAGS?= -O2
|
||||||
|
|
||||||
TK_VER?= 8.3
|
TK_VER?= 8.3
|
||||||
|
|
|
@ -31,13 +31,13 @@ BIBL | blas | ? | OPT_BLAS
|
||||||
BIBL | tcl | 8.3 | OPT_TCL
|
BIBL | tcl | 8.3 | OPT_TCL
|
||||||
BIBL | tk | 8.3 | OPT_TK
|
BIBL | tk | 8.3 | OPT_TK
|
||||||
BIBL | X11 | ? | OPT_X11
|
BIBL | X11 | ? | OPT_X11
|
||||||
BIBL | sys | ? | -Xlinker -export-dynamic PTHREAD -lutil -lm -lz
|
BIBL | sys | ? | -Xlinker -export-dynamic PTHREAD -lutil -lm -lz -lg2c
|
||||||
#
|
#
|
||||||
INCL | python | 2.1 | -IHOME_PYTHON/include/pythonPYTHON_VERSION
|
INCL | python | 2.1 | -IHOME_PYTHON/include/pythonPYTHON_VERSION
|
||||||
#
|
#
|
||||||
PYTHON | python | 2.1 | HOME_PYTHON/bin/PYTHON_BIN
|
PYTHON | python | 2.1 | HOME_PYTHON/bin/PYTHON_BIN
|
||||||
#
|
#
|
||||||
LINK | link | ? | %%F77%%
|
LINK | link | ? | %%CC%% -v
|
||||||
#
|
#
|
||||||
OPTL | f90 | ? | -v
|
OPTL | f90 | ? | -v
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue