[55843] trunk/dports/kde/kdelibs3/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Aug 20 02:43:30 PDT 2009


Revision: 55843
          http://trac.macports.org/changeset/55843
Author:   ryandesign at macports.org
Date:     2009-08-20 02:43:29 -0700 (Thu, 20 Aug 2009)
Log Message:
-----------
kdelibs3: indicate that it is incompatible with autoconf 2.64 for now; see #20513

Modified Paths:
--------------
    trunk/dports/kde/kdelibs3/Portfile

Modified: trunk/dports/kde/kdelibs3/Portfile
===================================================================
--- trunk/dports/kde/kdelibs3/Portfile	2009-08-20 09:34:32 UTC (rev 55842)
+++ trunk/dports/kde/kdelibs3/Portfile	2009-08-20 09:43:29 UTC (rev 55843)
@@ -69,6 +69,17 @@
 checksums               ${distname}.tar.bz2 md5 43cd55ed15f63b5738d620ef9f9fd568 \
                         ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3
 
+pre-extract {
+    set autoconf_maximum_version 2.63
+    set autoconf_installed_version [exec autoconf --version | awk "NR==1 {print \$NF}"]
+    if {[rpm-vercomp ${autoconf_installed_version} ${autoconf_maximum_version}] > 0} {
+        ui_error "${name} ${version} requires autoconf ${autoconf_maximum_version} or earlier but you have autoconf ${autoconf_installed_version}."
+        ui_error "See http://trac.macports.org/ticket/20513"
+        ui_error "and http://trac.macports.org/wiki/howto/InstallingOlderPort"
+        return -code error "incompatible autoconf version"
+    }
+}
+
 extract.only            ${distname}.tar.bz2
 
 post-extract {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090820/a64fca62/attachment.html>


More information about the macports-changes mailing list