Date: Tuesday, May 28, 2013 @ 18:12:17 Author: stephane Revision: 91825
upgpkg: shapelib 1.3.0-2 rebuild and fix for CFLAGS (FS#35500) Modified: shapelib/trunk/PKGBUILD ----------+ PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-05-28 15:45:47 UTC (rev 91824) +++ PKGBUILD 2013-05-28 16:12:17 UTC (rev 91825) @@ -5,7 +5,7 @@ pkgname=shapelib pkgver=1.3.0 -pkgrel=1 +pkgrel=2 pkgdesc='simple C API for reading and writing ESRI Shapefiles' arch=('i686' 'x86_64') url='http://shapelib.maptools.org/' @@ -19,14 +19,14 @@ build() { cd "$pkgname-$pkgver" - sed -i -e s:'-O2':"${CFLAGS}": Makefile + sed -i -e s:'-fPIC':"${CFLAGS} -fPIC": Makefile make lib } package() { cd "$pkgname-$pkgver" - install -d "$pkgdir/usr/lib" "$pkgdir/usr/include" + install -dm755 "$pkgdir"/usr/{lib,include} # Fix the broken makefile sed -i -e s:/usr/local:${pkgdir}/usr: Makefile