SPECS: courier-authlib.spec - added -lcrypt

luzik luzik at pld-linux.org
Mon Sep 18 13:18:44 CEST 2006


Author: luzik                        Date: Mon Sep 18 11:18:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -lcrypt

---- Files affected:
SPECS:
   courier-authlib.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/courier-authlib.spec
diff -u SPECS/courier-authlib.spec:1.45 SPECS/courier-authlib.spec:1.46
--- SPECS/courier-authlib.spec:1.45	Wed Aug 23 08:50:49 2006
+++ SPECS/courier-authlib.spec	Mon Sep 18 13:18:39 2006
@@ -210,32 +210,13 @@
 %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
@@ -609,6 +590,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2006/09/18 11:18:39  luzik
+- added -lcrypt
+
 Revision 1.45  2006/08/23 06:50:49  glen
 - package authdaemon/socket (as ghost); rel 7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/courier-authlib.spec?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list