aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sge62
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2008-04-14 19:10:08 +0000
committerBrooks Davis <brooks@FreeBSD.org>2008-04-14 19:10:08 +0000
commit35a75f198cc50fe126eb15c5638640e16f05ab6e (patch)
tree3cb0d2f52626e8dff406e70ce14a8dece407d2aa /sysutils/sge62
parent07438a5851c4a400817cc450052dd990a5b269fa (diff)
downloadports-35a75f198cc50fe126eb15c5638640e16f05ab6e.tar.gz
ports-35a75f198cc50fe126eb15c5638640e16f05ab6e.zip
Notes
Diffstat (limited to 'sysutils/sge62')
-rw-r--r--sysutils/sge62/Makefile6
-rw-r--r--sysutils/sge62/files/qsh-disabled.sh3
2 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/sge62/Makefile b/sysutils/sge62/Makefile
index 540dda683095..24dae6100d21 100644
--- a/sysutils/sge62/Makefile
+++ b/sysutils/sge62/Makefile
@@ -30,7 +30,8 @@ FETCH_CMD= wget -c
OPTIONS= BDB "Use DB based spooler" on \
JAVA "Support Java DRMAA API" on \
- X11 "Qmon X11 GUI" on
+ X11 "Qmon X11 GUI" on \
+ QSH "Enable qsh (requires xterm on exec hosts)" on
LATEST_LINK= sge61
CONFLICTS= sge-6.[02-9]* sge-5* sgeee-[0-9]* sge-0.*
@@ -182,6 +183,9 @@ do-build:
@${MKDIR} ${TMP_SGE_ROOT}
@cd ${WRKSRC} && ${SETENV} SGE_ROOT=${TMP_SGE_ROOT} \
./scripts/distinst -local -libs ${SGE_ARCH} -- ${INST_PROGS}
+.if defined(WITHOUT_QSH)
+ ${INSTALL_SCRIPT} ${FILESDIR}/qsh-disabled.sh ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qsh
+.endif
.if !defined(WITH_X11)
@${RM} ${TMP_SGE_ROOT}/catman/cat/cat1/qmon.1
@${RM} -r ${TMP_SGE_ROOT}/3rd_party/qmon
diff --git a/sysutils/sge62/files/qsh-disabled.sh b/sysutils/sge62/files/qsh-disabled.sh
new file mode 100644
index 000000000000..1398eec061dc
--- /dev/null
+++ b/sysutils/sge62/files/qsh-disabled.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo "qsh is not supported on this system" 1>&2
+exit 1