diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2015-11-07 00:58:08 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-09 09:47:41 +0000 |
commit | f7b1329246ad82d073b79490a585eca0e991081d (patch) | |
tree | b4bd43de27be94378dedf791d88a411d0924ff96 /main/zeromq | |
parent | e8ae1b619eceb85708785b07d79f906c64dd1945 (diff) | |
download | aports-f7b1329246ad82d073b79490a585eca0e991081d.tar.bz2 aports-f7b1329246ad82d073b79490a585eca0e991081d.tar.xz |
main/zeromq: rebuild against new libsodium
Diffstat (limited to 'main/zeromq')
-rw-r--r-- | main/zeromq/APKBUILD | 22 | ||||
-rw-r--r-- | main/zeromq/configure_werror.patch | 11 |
2 files changed, 23 insertions, 10 deletions
diff --git a/main/zeromq/APKBUILD b/main/zeromq/APKBUILD index 538412279c..b18b5cdf9f 100644 --- a/main/zeromq/APKBUILD +++ b/main/zeromq/APKBUILD @@ -1,8 +1,8 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=zeromq pkgver=4.1.3 -pkgrel=0 +pkgrel=1 pkgdesc="The ZeroMQ messaging library and tools" url="http://www.zeromq.org/" arch="all" @@ -12,7 +12,8 @@ makedepends="util-linux-dev libsodium-dev perl python asciidoc xmlto autoconf automake" install= subpackages="$pkgname-dev $pkgname-doc libzmq" -source="http://download.zeromq.org/zeromq-$pkgver.tar.gz" +source="http://download.zeromq.org/zeromq-$pkgver.tar.gz + configure_werror.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -28,8 +29,6 @@ prepare() { build() { cd "$_builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -41,15 +40,18 @@ build() { package() { cd "$_builddir" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 } libzmq() { pkgdesc="The ZeroMQ messaging library" - mkdir -p "$subpkgdir"/usr/lib + install -d "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libzmq.so.* "$subpkgdir"/usr/lib/ } -md5sums="d0824317348cfb44b8692e19cc73dc3a zeromq-4.1.3.tar.gz" -sha256sums="61b31c830db377777e417235a24d3660a4bcc3f40d303ee58df082fcd68bf411 zeromq-4.1.3.tar.gz" -sha512sums="2c993d18ea44e1cba890e024176af65b85b842ca4f8a22d319be4ace8388ab8828dd706b065f02754025bf271b1d7aa878c3f6655878248f7826452cb2a6134c zeromq-4.1.3.tar.gz" +md5sums="d0824317348cfb44b8692e19cc73dc3a zeromq-4.1.3.tar.gz +ba9f21b1f1b480ebf98969ad6f91da79 configure_werror.patch" +sha256sums="61b31c830db377777e417235a24d3660a4bcc3f40d303ee58df082fcd68bf411 zeromq-4.1.3.tar.gz +f802dc9217c9d3a4b756b4b5d3fd4cf2e59accecf154bf96955ab504298cde3a configure_werror.patch" +sha512sums="2c993d18ea44e1cba890e024176af65b85b842ca4f8a22d319be4ace8388ab8828dd706b065f02754025bf271b1d7aa878c3f6655878248f7826452cb2a6134c zeromq-4.1.3.tar.gz +baef095918e817f6bf7c267307e67dcd97c8ab568705f02d7a863a9ffe006acd9cc2aac238ac25cc2fdf787caf9d09f95109b8c368e1ad347a8a935ccc124549 configure_werror.patch" diff --git a/main/zeromq/configure_werror.patch b/main/zeromq/configure_werror.patch new file mode 100644 index 0000000000..189d49bd8e --- /dev/null +++ b/main/zeromq/configure_werror.patch @@ -0,0 +1,11 @@ +--- old/configure 2015-08-17 13:49:50.000000000 +0300 ++++ new/configure 2015-11-07 00:38:52.426666674 +0200 +@@ -17086,7 +17086,7 @@ + + + # By default compiling with -Werror except OSX. +-libzmq_werror="yes" ++libzmq_werror="no" + + # By default use DSO visibility + libzmq_dso_visibility="yes" |