summaryrefslogtreecommitdiffstats
path: root/main/mailx/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-19 16:22:31 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-19 16:22:31 +0000
commit0a87c68d217e72e9d823fb00f11047bab47b914f (patch)
tree22644b073007c8912390cc0b19fb617430d69df8 /main/mailx/APKBUILD
parentbbddc2e5d392cef1b3bdf2d7d548eb8e0fb6c727 (diff)
downloadaports-0a87c68d217e72e9d823fb00f11047bab47b914f.tar.bz2
aports-0a87c68d217e72e9d823fb00f11047bab47b914f.tar.xz
main/mailx: fix musl build
Diffstat (limited to 'main/mailx/APKBUILD')
-rw-r--r--main/mailx/APKBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/main/mailx/APKBUILD b/main/mailx/APKBUILD
index f656301b6..a2bad3f47 100644
--- a/main/mailx/APKBUILD
+++ b/main/mailx/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=mailx
pkgver=8.1.1
-pkgrel=0
+pkgrel=1
pkgdesc="A commandline utility for sending email"
url="http://www.opengroup.org/onlinepubs/007908799/xcu/mailx.html"
arch="all"
@@ -14,6 +14,7 @@ install=""
subpackages="$pkgname-doc"
source="ftp://ftp.archlinux.org/other/mailx/$pkgname-$pkgver-fixed.tar.gz
mailx-8.1.1.patch
+ musl-fix.patch
mailx-gcc4.patch"
_builddir="$srcdir/$pkgname-$pkgver-fixed"
@@ -23,7 +24,7 @@ prepare() {
cd "$_builddir"
for i in $source; do
case $i in
- *.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;;
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
sed -i 's#/man/#/share/man/#' Makefile
@@ -40,5 +41,14 @@ package() {
}
md5sums="63cad526ac64b57bcba2c0daaa1f3048 mailx-8.1.1-fixed.tar.gz
-d66b9f419c5d215271ed434f5d780843 mailx-8.1.1.patch
-8716c7c7b3f5d348443230e2fe543bf6 mailx-gcc4.patch"
+117ea0424ca1cfeb85b1e7f9bf945f6a mailx-8.1.1.patch
+bf07d61361ca99fe41b3197f930d6359 musl-fix.patch
+ea6d343c73cc62f8d5e83ec357aaf72f mailx-gcc4.patch"
+sha256sums="bb6b481bd2af066e5b2f96267f5b0a886a4fbd11bb2c9b316b113c667abf893f mailx-8.1.1-fixed.tar.gz
+7b1c21bc41af2de1f1ffc96431793c2c05321d8a7cae41f9adb619cb3feda274 mailx-8.1.1.patch
+2a19d3217933983971ebbe20faab538e11f814598818c4110dd16570c166a1ee musl-fix.patch
+cab097de50b169cfeb3d71bf2ef68074e215af5f24c16704ed15766551d0377c mailx-gcc4.patch"
+sha512sums="adfb1ae796505f2706d03e34ae9b89f45dd878d55014ae8fab91fbf4b53f1bd97e0ac78ce1af5999adf62e99230f91d9539605ae388cf6c16e8334c14c0cce10 mailx-8.1.1-fixed.tar.gz
+05c4185ef54601c9bae6b6505201a9b357f69d9d22c4b992a9ba52f4022b8dec2d0e5b97654fff7c9f303bdcc87ab8bb279a7293fdd538d4291dcd99f6eae1d4 mailx-8.1.1.patch
+de633d557552c38e221cd48c0cf6cefe108f22332eab5e155183463b0209a08b1ae6754508a12bf9f261a345b2feb1a4e607167d51b7a16e60d47c3c02d0218f musl-fix.patch
+e3fa1016da2cd1583e1ba2f6cd05566385607e144da2766101e4bf8c8dc089c4b956d1d90ccc040e5faf31c98d0855a0bc909bf0d6538df34925e798bba1a074 mailx-gcc4.patch"