SHA256
1
0
forked from pool/racket
racket/0001-pkg-collects-path.patch
OBS User mrdocs 2a66e01b0d Accepting request 151137 from home:toganm:testing
Racket is Lisp/scheme like language comes with lots goodies
with packages helping to learn programming or develop applications.

The intention is to submit Racket to Factory, so it can be part of the next
release after 12.3

Thanks

Togan

OBS-URL: https://build.opensuse.org/request/show/151137
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=1
2013-02-05 18:30:59 +00:00

34 lines
1.0 KiB
Diff

From bb3373b08eef415cb3533a6a9b8e1b8c54c79e4e Mon Sep 17 00:00:00 2001
From: David Bremner <bremner@unb.ca>
Date: Mon, 25 Apr 2011 07:32:21 -0300
Subject: [PATCH] pkg/collects-path
Patch configure script to set collectsdir to /usr/share/racket/collects.
collectsdir is hardcoded to ${libdir}/collects in the configure
script, but we want to install the collects (which are mostly
arch-independent) into /usr/share, and symlink the small number of
exceptions into /usr/lib/racket/collects/$foo
Signed-off-by: David Bremner <bremner@unb.ca>
---
src/configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/configure b/src/configure
index 64a8fef..6861d54 100755
--- a/src/configure
+++ b/src/configure
@@ -2264,7 +2264,7 @@ else
prefix="${ac_default_prefix}"
fi
libpltdir="${libdir}/racket"
- collectsdir="${libdir}/racket/collects"
+ collectsdir="${datadir}/racket/collects"
includepltdir="${includedir}/racket"
docdir="${datadir}/racket/doc"
MAKE_COPYTREE=copytree
--
1.7.10