From 8b73372a34e8c098144d24b7bd4c033998b1255c Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Tue, 29 Apr 2008 17:22:03 +0000 Subject: Fix the option to disable qsh. I failed to notice the qrsh and qlogin are links to qsh so removing it broke them too. When replacing qsh, move the binary to qrsh first. --- sysutils/sge61/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysutils/sge61') diff --git a/sysutils/sge61/Makefile b/sysutils/sge61/Makefile index 185904bef690..a8477b9b5f9a 100644 --- a/sysutils/sge61/Makefile +++ b/sysutils/sge61/Makefile @@ -7,6 +7,7 @@ PORTNAME= sge PORTVERSION= ${SGE_VERSION} +PORTREVISION= 1 CATEGORIES= sysutils parallel MASTER_SITES= http://gridengine.sunsource.net/files/documents/7/169/:src \ http://gridengine.sunsource.net/download/SGE61/:bin \ @@ -184,7 +185,11 @@ do-build: @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 + @${RM} ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qlogin + @${RM} ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qrsh + @${MV} ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qsh ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qrsh + @${LN} -s qrsh ${TMP_SGE_ROOT}/bin/${SGE_ARCH}/qlogin + @${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 -- cgit v1.2.3