diff options
author | Christoph Willing <c.willing@uq.edu.au> | 2012-07-25 21:52:27 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-07-25 21:52:27 -0500 |
commit | 9e04b5b18f336a4648e35deaff4d20ba0ec9f689 (patch) | |
tree | a30bf8dde4f0f1e8a36d2b0d23511a22dedd1586 /haskell/haskell-platform/not_update_pkg_db.diff | |
parent | b1728e796efbf4645187f16ae97b10b74fdb221d (diff) | |
download | slackbuilds-9e04b5b18f336a4648e35deaff4d20ba0ec9f689.tar.gz |
haskell/haskell-platform: Added (base Haskell devel platform)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-platform/not_update_pkg_db.diff')
-rw-r--r-- | haskell/haskell-platform/not_update_pkg_db.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/haskell/haskell-platform/not_update_pkg_db.diff b/haskell/haskell-platform/not_update_pkg_db.diff new file mode 100644 index 0000000000..968e32e407 --- /dev/null +++ b/haskell/haskell-platform/not_update_pkg_db.diff @@ -0,0 +1,28 @@ +--- ./scripts/install.sh.orig 2010-12-01 09:49:32.169509005 +0800 ++++ ./scripts/install.sh 2010-12-01 09:58:02.551384509 +0800 +@@ -27,15 +27,16 @@ + ./Setup register ${VERBOSE} --gen-pkg-config="${PKG}.conf" \ + || die "Generating the registration information for the package ${PKG} failed" + +- if [ -f ${PKG}.conf ]; then +- if test "${USER_INSTALL}" = "YES"; then +- GHC_PKG_DB="--user" +- else +- GHC_PKG_DB="--global" +- fi +- ${GHC_PKG} update ${GHC_PKG_DB} "${PKG}.conf" \ +- || die "Registering the package ${PKG} failed" +- fi ++# Uncomment to allow actually registering packages at building time ++# if [ -f ${PKG}.conf ]; then ++# if test "${USER_INSTALL}" = "YES"; then ++# GHC_PKG_DB="--user" ++# else ++# GHC_PKG_DB="--global" ++# fi ++# ${GHC_PKG} update ${GHC_PKG_DB} "${PKG}.conf" \ ++# || die "Registering the package ${PKG} failed" ++# fi + + cd ../.. + } |