]> git.pld-linux.org Git - packages/ghc-haskell-platform.git/commitdiff
- fix buildroot install issues
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 27 Aug 2010 10:43:03 +0000 (10:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ghc-haskell-platform-install.patch -> 1.1

ghc-haskell-platform-install.patch [new file with mode: 0644]

diff --git a/ghc-haskell-platform-install.patch b/ghc-haskell-platform-install.patch
new file mode 100644 (file)
index 0000000..98cc0a3
--- /dev/null
@@ -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 ../..
+ }
This page took 0.058427 seconds and 4 git commands to generate.