[arch-commits] Commit in readline/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Aug 1 10:01:05 UTC 2009
Date: Saturday, August 1, 2009 @ 06:01:05
Author: allan
Revision: 48257
upgpkg: readline 6.0.004-1
bump patch level, use PIC on x86_64 (FS#15634)
Modified:
readline/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-08-01 09:42:21 UTC (rev 48256)
+++ PKGBUILD 2009-08-01 10:01:05 UTC (rev 48257)
@@ -3,9 +3,9 @@
# Contributor: judd <jvinet at zeroflux.org>
pkgname=readline
-_patchlevel=003 #prepare for some patches
+_patchlevel=004 #prepare for some patches
pkgver=6.0.$_patchlevel
-pkgrel=3
+pkgrel=1
pkgdesc="GNU readline library"
arch=(i686 x86_64)
url="http://tiswww.case.edu/php/chet/readline/rltop.html"
@@ -24,7 +24,8 @@
'e5fc955f56d9fa5beb871f3279b8fa8b'
'85c01ea031ad38a179053c67186bafed'
'4fad2a4ce987e3101229d0c8dfb0cd80'
- '80967f663864983a889af2eb53aea177')
+ '80967f663864983a889af2eb53aea177'
+ 'dd5dd5ff7f7229714bf1c2e274ad2ae9')
build() {
cd ${srcdir}/${pkgname}-6.0
@@ -34,9 +35,12 @@
patch -Np0 -i ${p} || return 1
done
- # Remove RPATH from shared objects #FS14366
+ # 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"
+
./configure --prefix=/usr --libdir=/lib \
--mandir=/usr/share/man --infodir=/usr/share/info
make SHLIB_LIBS=-lncurses || return 1
More information about the arch-commits
mailing list