diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 0d98624..d281838 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -17,20 +17,11 @@ source=("https://github.com/zeromq/libzmq/releases/download/v$pkgver/zeromq-$pkg sha256sums=('9d9285db37ae942ed0780c016da87060497877af45094ff9e1a1ca736e3875a2' 'e9203391a0b913576153a2ad22a2dc1479b1ec325beb6c46a3237c669aef5a52') -prepare() { - cd "$srcdir/$pkgname-$pkgver" - # Needed for new libsodium - sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure - - sed -i 's/openpgm-5.1/openpgm-5.3/' configure configure.ac - sed -i 's/CXXFLAGS="-Wno-long-long/CXXFLAGS="-Wno-unused-function -Wno-long-long/' configure -} - build() { cd "$srcdir/$pkgname-$pkgver" ./configure prefix=/usr --with-pgm --with-libsodium \ - --with-documentation --enable-static - make -Wno-unused-function -Wnoerror=unused-function + --with-documentation --enable-static --disable-Werror + make } check() {