aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-28 13:22:59 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-28 13:22:59 +0800
commit891e9fc65fbfadcc26bc54415e5735dd9c2ee6c5 (patch)
tree23b87f5ae9909434990f1b3afacb1f7d0ae6cd42
parent0e09693564992295797ab3b1ee025ac52cee18af (diff)
downloadfreebsd-ports-gnome-891e9fc65fbfadcc26bc54415e5735dd9c2ee6c5.tar.gz
freebsd-ports-gnome-891e9fc65fbfadcc26bc54415e5735dd9c2ee6c5.tar.zst
freebsd-ports-gnome-891e9fc65fbfadcc26bc54415e5735dd9c2ee6c5.zip
fix cad/astk-serveur: fixing RUN_DEPENDS
PR: 54917 Submitted by: Thierry Thomas <thierry@pompo.net>
-rw-r--r--cad/astk-serveur/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/cad/astk-serveur/Makefile b/cad/astk-serveur/Makefile
index e20b4437297b..68ce7444aef0 100644
--- a/cad/astk-serveur/Makefile
+++ b/cad/astk-serveur/Makefile
@@ -36,7 +36,7 @@ COMMENT?= Graphical interface for Code_Aster (server side)
# There exists a "logical" RUN_DEPENDS towards french/aster and french/eficas
# for the server part, but it is not set to avoid circular dependences.
RUN_DEPENDS= ${LOCALBASE}/lib/Tktable${TKTAB_VER}:${PORTSDIR}/x11-toolkits/tktable \
- ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIA}
+ ${SHELL_INSTALL_ASTER}:${PORTSDIR}/shells/${SHIADEP}
.if defined(WITH_PBS) && !defined(CLIENT_SEUL)
RUN_DEPENDS+= ${LOCALBASE}bin/pbs_tclsh:misc/pbs
.endif
@@ -73,16 +73,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
.if !defined(WITH_ED)
.if exists(${X11BASE}/bin/nedit)