aboutsummaryrefslogtreecommitdiffstats
path: root/french/aster
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-28 14:28:39 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-28 14:28:39 +0800
commitce0eeb7f349cf0c46476510cd0c14ff015c19e01 (patch)
tree394c7ee25074432d9f4a7e6d62eaf0040f319e8e /french/aster
parent64c9ff176929c02cf688d35c6a91cdf2d244c9ab (diff)
downloadfreebsd-ports-gnome-ce0eeb7f349cf0c46476510cd0c14ff015c19e01.tar.gz
freebsd-ports-gnome-ce0eeb7f349cf0c46476510cd0c14ff015c19e01.tar.zst
freebsd-ports-gnome-ce0eeb7f349cf0c46476510cd0c14ff015c19e01.zip
fix french/aster: fixing BUILD_DEPENDS
PR: 54915 Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'french/aster')
-rw-r--r--french/aster/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/french/aster/Makefile b/french/aster/Makefile
index a3d5ac227bde..e835b5231e67 100644
--- a/french/aster/Makefile
+++ b/french/aster/Makefile
@@ -39,7 +39,7 @@ PATCH_DEPENDS= tclsh${TCL_VER}:${PORTSDIR}/lang/tcl${SHORT_TCL_VER} \
LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
BUILD_DEPENDS= ${opt_hdf}:${PORTSDIR}/graphics/hdf5 \
${opt_med}:${PORTSDIR}/french/med \
- ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIA}
+ ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot \
${LOCALBASE}/bin/onmetis.exe:${PORTSDIR}/cad/metis-edf
@@ -110,16 +110,21 @@ SHIA= zsh
.elif defined(WITH_BASH)
SHIA= bash
.elif defined(WITH_KSH)
-SHIA= ksh
+SHIA= ksh93
.elif exists(${LOCALBASE}/bin/zsh)
SHIA= zsh
.elif exists(${LOCALBASE}/bin/bash)
SHIA= bash
-.elif exists(${LOCALBASE}/bin/ksh)
-SHIA= ksh
+.elif exists(${LOCALBASE}/bin/ksh93)
+SHIA= ksh93
.else
SHIA= zsh
.endif
+.if ${SHIA} == "bash"
+SHIADEP= bash2
+.else
+SHIADEP= ${SHIA}
+.endif
vaster= STA${PORTVERSION}
MK_FILES= make_aster make_cata make_etude make_exec make_lib make_test