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

Aaron Griffin aaron at archlinux.org
Sun Aug 31 01:33:04 EDT 2008


    Date: Sunday, August 31, 2008 @ 01:33:04
  Author: aaron
Revision: 10737

upgpkg: shadow 4.1.2.1-2
    Build libshadow.so again, whoops

Modified:
  shadow/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-31 04:09:08 UTC (rev 10736)
+++ PKGBUILD	2008-08-31 05:33:04 UTC (rev 10737)
@@ -3,7 +3,7 @@
 
 pkgname=shadow
 pkgver=4.1.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Shadow password file utilities"
 arch=(i686 x86_64)
 url='http://pkg-shadow.alioth.debian.org/'
@@ -32,6 +32,13 @@
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
+
+  #Ugh, force this to build shared libraries, for god's sake
+  sed -i "s/noinst_LTLIBRARIES/lib_LTLIBRARIES/g" lib/Makefile.am
+  libtoolize
+  autoreconf
+  export LDFLAGS="$LDFLAGS -lcrypt"
+
   patch -Np1 -i $startdir/src/xstrdup.patch || return 1
 
   # supress etc/pam.d/*, we provide our own
@@ -40,6 +47,7 @@
   ./configure \
   	--prefix=/usr --libdir=/lib \
 	--mandir=/usr/share/man --sysconfdir=/etc \
+    --enable-shared --disable-static \
     --with-libpam --without-selinux
   make || return 1
   make DESTDIR=$startdir/pkg install




More information about the arch-commits mailing list