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

Allan McRae allan at archlinux.org
Sat Feb 19 03:39:03 UTC 2011


    Date: Friday, February 18, 2011 @ 22:39:03
  Author: allan
Revision: 110362

upgpkg: kexec-tools 2.0.2-3
build static for separate /usr partition (FS#22950)

Modified:
  kexec-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-18 23:43:03 UTC (rev 110361)
+++ PKGBUILD	2011-02-19 03:39:03 UTC (rev 110362)
@@ -4,13 +4,14 @@
 
 pkgname=kexec-tools
 pkgver=2.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Load another kernel from the currently executing Linux kernel"
 arch=('i686' 'x86_64')
 url="http://kernel.org/pub/linux/utils/kernel/kexec/"
 source=("http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-${pkgver}.tar.bz2"
         'kexec' 'kexec.conf.d')
-depends=('zlib' 'gawk' 'xz')
+depends=('gawk')
+makedepends=('zlib' 'xz')
 backup=('etc/conf.d/kexec')
 license=('GPL2')
 md5sums=('35d05fed1c97008ac34c5bfb929295eb'
@@ -19,6 +20,7 @@
 
 build() {
   cd $srcdir/$pkgname-$pkgver
+  export LDFLAGS+=" -static"
   ./configure --prefix=/usr
   make
 }




More information about the arch-commits mailing list