[arch-commits] Commit in physfs/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Dec 1 11:17:48 UTC 2011


    Date: Thursday, December 1, 2011 @ 06:17:48
  Author: eric
Revision: 143979

upgpkg: physfs 2.0.2-2

Fix build issue (close FS#27377), Clean up depends

Modified:
  physfs/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-12-01 09:50:07 UTC (rev 143978)
+++ PKGBUILD	2011-12-01 11:17:48 UTC (rev 143979)
@@ -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')
 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
 }
 




More information about the arch-commits mailing list