]> git.pld-linux.org Git - packages/courier-imap.git/commitdiff
- updated to 4.0.4
authorAndrzej Augustynowicz <andrzej@augustynowicz.eu.org>
Thu, 1 Sep 2005 14:06:03 +0000 (14:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- remove -static from Makefile.am

Changed files:
    courier-imap.spec -> 1.148

courier-imap.spec

index 531e3987823a46cafe17bccd052d7b10a88d663d..6d2dcc312be54d6c5b4e84d3dd14b6c9b9f947cb 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Courier-IMAP server
 Summary(pl):   Serwer Courier-IMAP
 Name:          courier-imap
-Version:       4.0.3
+Version:       4.0.4
 Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
-# Source0-md5: 1bbe6544dc39ba14e6c71589c7f74337
+# Source0-md5: cb5a1d394e622fe2c5ea7bcab68c6286
 Source1:       %{name}.init
 Source2:       %{name}-pop3.init
 Source3:       %{name}.pamd
@@ -116,20 +116,24 @@ install %{SOURCE1} courier-imap.in
 install %{SOURCE2} courier-pop3.in
 
 %build
-cp -f /usr/share/automake/config.sub .
-cp -f /usr/share/automake/config.sub maildir
-
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-
-cd imap
-%{__aclocal}
-%{__autoconf}
-ln -s ../ltmain.sh .
-%{__automake}
-cd ..
+
+# Change Makefile.am files and force recreate Makefile.in's.
+OLDDIR=`pwd`
+find -type f -a \( -name configure.in -o -name configure.ac \) | while read FILE; do
+        cd "`dirname "$FILE"`"
+
+        if [ -f Makefile.am ]; then
+                sed -i -e '/_LDFLAGS=-static/d' Makefile.am
+        fi
+
+        %{__libtoolize}
+        %{__aclocal}
+        %{__autoconf}
+        %{__autoheader}
+        %{__automake}
+
+        cd "$OLDDIR"
+done
 
 %configure \
        --with-db=db \
This page took 0.036189 seconds and 4 git commands to generate.