$NetBSD: patch-bd,v 1.4 2009/05/13 21:00:25 markd Exp $ Exclude Java files. DESTDIR support. --- source/scripts/distinst.orig 2009-01-31 05:04:08.000000000 +1300 +++ source/scripts/distinst @@ -75,12 +75,12 @@ DRMAA_SHARED_LIBRARIES="libdrmaa" # The last number listed here will be the verson linked from libdrmaa.so DRMAA_SHARED_LIB_VERSIONS="1.0" DRMAA_HEADER_FILES="libs/japi/drmaa.h" -DRMAAJ_FILES="CLASSES/drmaa" +#DRMAAJ_FILES="CLASSES/drmaa" JNI_SHARED_LIBRARIES="libdrmaa libjuti libjgdi" -JUTIJ_FILES="CLASSES/juti/juti" -JGDIJ_FILES="libs/jgdi/build/jgdi" +#JUTIJ_FILES="CLASSES/juti/juti" +#JGDIJ_FILES="libs/jgdi/build/jgdi" PVMSOURCES="start_pvm.c stop_pvm.c slave.c master.c spmd.c Makefile" PVMSRCSCRIPTS="install.sh aimk" @@ -420,7 +420,7 @@ instclassictargets=false instopenssl=true instbdb=true instarco=false -instguiinst=true +instguiinst=false enforce_shlibpath=false cmdname=`basename $0` @@ -518,11 +518,11 @@ while [ $# -ge 1 ]; do echo Please set variable SGE_ROOT. Installation failed. exit 1 fi - if [ ! -d $SGE_ROOT ]; then - echo Please create directory \"$SGE_ROOT\" first. Installation failed. + if [ ! -d "$DESTDIR$SGE_ROOT" ]; then + echo Please create directory \"$DESTDIR$SGE_ROOT\" first. Installation failed. exit 1 fi - DEST_SGE_ROOT=$SGE_ROOT + DEST_SGE_ROOT=$DESTDIR$SGE_ROOT localinst=true ;; -mansrc)