aboutsummaryrefslogtreecommitdiffstats
path: root/community/cabal/cabal-0003-use-apkbuild-downloads.patch
diff options
context:
space:
mode:
authorMitch Tishmack <mitch.tishmack@gmail.com>2017-05-20 12:44:44 -0500
committerShiz <hi@shiz.me>2017-06-02 10:41:49 +0200
commit021c8d2a03642fae78ab0fab1959c85eaeb2c903 (patch)
treec52a5a3511663f58ecc063c478dfdf77f09d36d9 /community/cabal/cabal-0003-use-apkbuild-downloads.patch
parentaffe55e081afd2fe8ba4a49280c0cd5a7d323357 (diff)
downloadaports-021c8d2a03642fae78ab0fab1959c85eaeb2c903.tar.bz2
aports-021c8d2a03642fae78ab0fab1959c85eaeb2c903.tar.xz
community/cabal: moved from testing
Diffstat (limited to 'community/cabal/cabal-0003-use-apkbuild-downloads.patch')
-rw-r--r--community/cabal/cabal-0003-use-apkbuild-downloads.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/cabal/cabal-0003-use-apkbuild-downloads.patch b/community/cabal/cabal-0003-use-apkbuild-downloads.patch
new file mode 100644
index 0000000000..b2c30bc9ea
--- /dev/null
+++ b/community/cabal/cabal-0003-use-apkbuild-downloads.patch
@@ -0,0 +1,24 @@
+--- a/bootstrap.sh
++++ b/bootstrap.sh
+@@ -392,18 +392,10 @@
+
+ if need_pkg ${PKG} ${VER_MATCH}
+ then
+- echo
+- if [ -r "${PKG}-${VER}.tar.gz" ]
+- then
+- echo "Using local tarball for ${PKG}-${VER}."
+- else
+- echo "Downloading ${PKG}-${VER}..."
+- fetch_pkg ${PKG} ${VER}
+- fi
+- unpack_pkg ${PKG} ${VER}
+- cd "${PKG}-${VER}"
++ cd "../${PKG}-${VER}"
++ cp "../${PKG}.cabal" .
+ install_pkg ${PKG} ${VER}
+- cd ..
++ cd ../cabal-install-*
+ fi
+ }
+