[arch-commits] Commit in xmlrpc-c/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Jan 29 00:15:32 UTC 2017
Date: Sunday, January 29, 2017 @ 00:15:31
Author: arodseth
Revision: 209324
upgpkg: xmlrpc-c 1:1.43.06-1
Modified:
xmlrpc-c/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-28 23:29:36 UTC (rev 209323)
+++ PKGBUILD 2017-01-29 00:15:31 UTC (rev 209324)
@@ -6,8 +6,8 @@
pkgname=xmlrpc-c
# Using the Stable version
-pkgver=1.43.03
-pkgrel=2
+pkgver=1.43.06
+pkgrel=1
epoch=1
pkgdesc='XML-RPC for C and C++'
arch=('x86_64' 'i686')
@@ -14,16 +14,22 @@
url='http://xmlrpc-c.sourceforge.net/'
license=('custom')
depends=('curl' 'libxml2')
-makedepends=('libtool' 'setconf' 'clang' 'subversion')
+makedepends=('libtool' 'setconf' 'subversion')
options=('!makeflags' '!emptydirs')
source=("svn://svn.code.sf.net/p/xmlrpc-c/code/stable")
sha1sums=('SKIP')
+prepare() {
+ sed 's/xmlParserCtx /xmlParserCtxt/g' -i stable/src/xmlrpc_libxml2.c
+}
+
build() {
cd stable
[ "$CARCH" != "i686" ] && export CFLAGS="$CFLAGS -fPIC"
- ./configure --prefix=/usr \
+
+ ./configure \
+ --prefix=/usr \
--mandir=/usr/share/man \
--enable-libxml2-backend \
--disable-cgi-server \
@@ -31,12 +37,10 @@
--disable-wininet-client \
--enable-abyss \
--enable-cplusplus
+
mkdir -p include/curl
touch include/curl/types.h
- setconf config.mk CC clang
- setconf config.mk CXX clang++
-
make CFLAGS_PERSONAL="$CFLAGS" CXXFLAGS_PERSONAL="$CXXFLAGS"
make -C tools CFLAGS_PERSONAL="$CFLAGS" CXXFLAGS_PERSONAL="$CXXFLAGS"
}
@@ -47,6 +51,7 @@
make DESTDIR="$pkgdir" install
make -C tools DESTDIR="$pkgdir" install
install -Dm 644 doc/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
# Remove references to build directory
setconf "$pkgdir/usr/bin/xmlrpc-c-config" BLDDIR ''
setconf "$pkgdir/usr/bin/xmlrpc-c-config" ABS_SRCDIR ''
More information about the arch-commits
mailing list