summaryrefslogtreecommitdiff
path: root/extra/xerces-c/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xerces-c/PKGBUILD')
-rw-r--r--extra/xerces-c/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/xerces-c/PKGBUILD b/extra/xerces-c/PKGBUILD
index 11095214b..23c6bb99d 100644
--- a/extra/xerces-c/PKGBUILD
+++ b/extra/xerces-c/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 179593 2013-03-07 13:22:22Z andrea $
+# $Id: PKGBUILD 184762 2013-05-08 07:12:02Z andrea $
# Maintainer:
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=xerces-c
pkgver=3.1.1
-pkgrel=3
+pkgrel=4
pkgdesc="A validating XML parser written in a portable subset of C++"
arch=('i686' 'x86_64')
url="http://xerces.apache.org/xerces-c/"
@@ -18,8 +18,11 @@ md5sums=('6a8ec45d83c8cfb1584c5a5345cb51ae')
build() {
cd ${pkgname}-${pkgver}
+
+ [[ "${CARCH}" = "i686" ]] && SSE2="--disable-sse2"
+
./configure --prefix=/usr \
- --sysconfdir=/etc
+ --sysconfdir=/etc ${SSE2}
make
}