From 10ecc259bea612ff3e2d0d6d03cc0f2d8538ded1 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Thu, 19 Oct 2006 08:11:42 +0000 Subject: [PATCH] Removing CAS-6.1.1. Adding CAS-6.1.2a --- config_files/{CAS-6.1.1.sh => CAS-6.1.2a.sh} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) rename config_files/{CAS-6.1.1.sh => CAS-6.1.2a.sh} (92%) diff --git a/config_files/CAS-6.1.1.sh b/config_files/CAS-6.1.2a.sh similarity index 92% rename from config_files/CAS-6.1.1.sh rename to config_files/CAS-6.1.2a.sh index bfc8dc4..7159208 100755 --- a/config_files/CAS-6.1.1.sh +++ b/config_files/CAS-6.1.2a.sh @@ -82,13 +82,20 @@ source ${INSTALL_WORK}/$SHRC makedir ${PRODUCT_DIR} # unpack -check_jb tar xfz ${SOURCE_DIR}/CAS-6.1.1.tar.gz -C ${INSTALL_WORK} +check_jb tar xfz ${SOURCE_DIR}/CAS-6.1.2a.tar.gz -C ${INSTALL_WORK} cd ${PRODUCT_WORK} # configure + if test `uname -m` = "x86_64" ; then +flags="CFLAGS=-m64 CXXFLAGS=-m64" +flags="$flags --with-gl-include=/usr/include --with-gl-library=/usr/X11R6/lib64" +flags="$flags --with-xmu-include=/usr/X11R6/include/X11" +flags="$flags --with-xmu-library=/usr/X11R6/lib64" +else flags="--with-gl-include=/usr/include --with-gl-library=/usr/lib" flags="$flags --with-xmu-include=/usr/X11R6/include/X11" flags="$flags --with-xmu-library=/usr/X11R6/lib" + fi tcldir="`where_tcl`" if [ $? -eq 0 ] ; then flags="$flags --with-tcl=$tcldir"; fi tkdir="`where_tk`" @@ -132,7 +139,7 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/CAS-6.1.1.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/CAS-6.1.2a.tar.gz -C ${INSTALL_ROOT} ldir=${PRODUCT_DIR}/lib if [ ! -d $ldir ]; then ldir=${PRODUCT_DIR}/Linux/lib; fi if [ ! -d $ldir ]; then ldir=${PRODUCT_DIR}/lin/lib; fi @@ -161,7 +168,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="cas" ; fi -export PRODUCT="CAS-6.1.1" +export PRODUCT="CAS-6.1.2a" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh -- 2.39.2