summaryrefslogtreecommitdiff
path: root/development/haskell-platform/not_update_pkg_db.diff
diff options
context:
space:
mode:
authorJockey S. Kyd <jockey.kyd@gmail.com>2010-12-28 00:46:11 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-29 01:08:09 -0600
commit48934c2eac31ecf24bdb36ce237a39ac67bc0291 (patch)
tree677bba30b5e334b2bb9cd5295a0561380ddcb93a /development/haskell-platform/not_update_pkg_db.diff
parent5281f8eef4dc18d4b79c59d5136274f008274f25 (diff)
downloadslackbuilds-48934c2eac31ecf24bdb36ce237a39ac67bc0291.tar.gz
development/haskell-platform: Added (base haskell platform libs)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/haskell-platform/not_update_pkg_db.diff')
-rw-r--r--development/haskell-platform/not_update_pkg_db.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/development/haskell-platform/not_update_pkg_db.diff b/development/haskell-platform/not_update_pkg_db.diff
new file mode 100644
index 0000000000..968e32e407
--- /dev/null
+++ b/development/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 ../..
+ }