packages: ghc-haskell-platform/ghc-haskell-platform-install.patch (NEW) - f...
baggins
baggins at pld-linux.org
Fri Aug 27 12:43:08 CEST 2010
Author: baggins Date: Fri Aug 27 10:43:08 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fix buildroot install issues
---- Files affected:
packages/ghc-haskell-platform:
ghc-haskell-platform-install.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ghc-haskell-platform/ghc-haskell-platform-install.patch
diff -u /dev/null packages/ghc-haskell-platform/ghc-haskell-platform-install.patch:1.1
--- /dev/null Fri Aug 27 12:43:08 2010
+++ packages/ghc-haskell-platform/ghc-haskell-platform-install.patch Fri Aug 27 12:43:03 2010
@@ -0,0 +1,35 @@
+--- haskell-platform-2010.2.0.0/scripts/install.sh~ 2010-07-16 01:21:49.000000000 +0200
++++ haskell-platform-2010.2.0.0/scripts/install.sh 2010-08-26 19:23:21.735658700 +0200
+@@ -21,21 +21,21 @@
+
+ [ -x Setup ] || die "The ${PKG}/Setup script does not exist or cannot be run"
+
+- ./Setup copy ${VERBOSE} \
++ ./Setup copy ${VERBOSE} --destdir=${DESTDIR} \
+ || die "Installing the ${PKG} component failed"
+
+- ./Setup register ${VERBOSE} --gen-pkg-config="${PKG}.conf" \
++ ./Setup register ${VERBOSE} --gen-pkg-config="${DESTDIR}/${libdir}/${ghcdir}/package.conf.d/${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
++# 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 ../..
+ }
================================================================
More information about the pld-cvs-commit
mailing list