]> git.pld-linux.org Git - packages/courier-authlib.git/commitdiff
- added -lcrypt
authorluzik <luzik@pld-linux.org>
Mon, 18 Sep 2006 11:18:39 +0000 (11:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    courier-authlib.spec -> 1.46

courier-authlib.spec

index 17cb4524faf44ae71365807ecbf48f609cb0070b..50958c98eaa74bac708bfd0151f356421e955ead 100644 (file)
@@ -209,32 +209,13 @@ Ten pakiet zawiera schemat Couriera authldap.schema dla openldapa.
 %patch2 -p1
 
 %build
-cp /usr/share/automake/config.sub libltdl
-%{__libtoolize}
-
-# Change Makefile.am files and force recreate Makefile.in's.
-OLDDIR=$(pwd)
-for FILE in {,*/}configure.{in,ac}; do
-       cd "$(dirname "$FILE")"
-
-       if [ -f Makefile.am ]; then
-               sed -i -e '/_[L]DFLAGS=-static/d' Makefile.am
-       fi
-
-       %{__aclocal}
-       %{__autoconf}
-       %{__autoheader}
-       %{__automake}
-
-       cd "$OLDDIR"
-done
-
 %configure \
        --with-db=db \
        --with-mailuser=daemon \
        --with-mailgroup=daemon
 
-%{__make}
+%{__make} \
+       LDFLAGS="%{rpmldflags} -lcrypt"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.117004 seconds and 4 git commands to generate.