diff options
author | root <root@rshg054.dnsready.net> | 2013-10-24 00:56:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-24 00:56:32 -0700 |
commit | 94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (patch) | |
tree | 3eeb5098d6fe3d9cad00a0e1df056de10d0464e6 /core/readline/PKGBUILD | |
parent | 06a76442fa8de4a9975266a4eca7fb2a953f5244 (diff) |
Thu Oct 24 00:55:58 PDT 2013
Diffstat (limited to 'core/readline/PKGBUILD')
-rw-r--r-- | core/readline/PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/readline/PKGBUILD b/core/readline/PKGBUILD index 037b7e1d0..76d7968a9 100644 --- a/core/readline/PKGBUILD +++ b/core/readline/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 163855 2012-07-21 11:22:57Z allan $ +# $Id: PKGBUILD 197153 2013-10-23 13:04:18Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> @@ -6,7 +6,7 @@ pkgname=readline _basever=6.2 _patchlevel=004 #prepare for some patches pkgver=$_basever.$_patchlevel -pkgrel=1 +pkgrel=2 pkgdesc="GNU readline library" arch=('i686' 'x86_64') url="http://tiswww.case.edu/php/chet/readline/rltop.html" @@ -38,14 +38,14 @@ build() { cd ${srcdir}/${pkgname}-$_basever for (( p=1; p<=$((10#${_patchlevel})); p++ )); do msg "applying patch readline${_basever//./}-$(printf "%03d" $p)" - patch -Np0 -i $srcdir/readline${_basever//./}-$(printf "%03d" $p) + patch -p0 -i $srcdir/readline${_basever//./}-$(printf "%03d" $p) done # Remove RPATH from shared objects (FS#14366) sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf # build with -fPIC for x86_64 (FS#15634) - [ $CARCH == "x86_64" ] && CFLAGS="$CFLAGS -fPIC" + [[ $CARCH == "x86_64" ]] && CFLAGS="$CFLAGS -fPIC" ./configure --prefix=/usr make SHLIB_LIBS=-lncurses |