components/slib/patches/slib.sh.patch
author Danek Duvall <danek.duvall@oracle.com>
Fri, 08 Jul 2011 10:36:32 -0700
changeset 383 e37246d1c149
parent 161 0667002cbaee
child 694 a8816ddd9020
permissions -rw-r--r--
6780150 ImageMagick should not deliver perl modules in site_perl.

--- slib/slib.sh_orig	Thu Dec 20 20:17:37 2007
+++ slib/slib.sh	Tue Mar 29 14:16:10 2011
@@ -1,3 +1,11 @@
+#!/usr/bin/bash
+RELOC_ROOT=$(pkginfo -r SUNWslib)
+if [[ "$RELOC_ROOT" == "none" ]]; then
+       RELOC_ROOT=/
+fi
+SCHEME_LIBRARY_PATH=${SCHEME_LIBRARY_PATH:-${RELOC_ROOT}usr/lib/slib}
+export SCHEME_LIBRARY_PATH
+VERSION=3b1
 
 ##"slib" script; Find a Scheme implementation and initialize SLIB in it.
 #Copyright (C) 2003, 2004 Aubrey Jaffer