summaryrefslogtreecommitdiff
path: root/extra/physfs
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-03 19:44:19 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-03 19:44:19 -0300
commit5f03f36a1327a1c1ade065b89ec2ad873b708a0d (patch)
tree0bbfab5010c0318a1faa46d5897fd831e0e4d60c /extra/physfs
parent1ac43f3f1d47a56bbc1564ae7d2fd0869f345b6c (diff)
parent8eed59114cbcf729b65f87d3f73530f6c8363d20 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/libdvdnav/PKGBUILD extra/libguess/PKGBUILD extra/libmowgli/PKGBUILD extra/xchm/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'extra/physfs')
-rw-r--r--extra/physfs/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/physfs/PKGBUILD b/extra/physfs/PKGBUILD
index e68e4141b..d32550c62 100644
--- a/extra/physfs/PKGBUILD
+++ b/extra/physfs/PKGBUILD
@@ -3,22 +3,25 @@
pkgname=physfs
pkgver=2.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="A library to provide abstract access to various archives"
arch=('i686' 'x86_64' 'mips64el')
url="http://icculus.org/physfs/"
license=('ZLIB')
-depends=('zlib' 'readline')
+depends=('zlib')
makedepends=('cmake' 'doxygen')
+options=('!makeflags')
source=(http://icculus.org/physfs/downloads/${pkgname}-${pkgver}.tar.gz)
-md5sums=('4e8927c3d30279b03e2592106eb9184a')
sha1sums=('2d3d3cc819ad26542d34451f44050b85635344d0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/-Werror//' CMakeLists.txt
export CFLAGS="$CFLAGS -fno-strict-aliasing"
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF
+ cmake . -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF
make all docs
}