[104253] trunk/dports/net/mcabber

ryandesign at macports.org ryandesign at macports.org
Fri Mar 22 01:11:39 PDT 2013


Revision: 104253
          https://trac.macports.org/changeset/104253
Author:   ryandesign at macports.org
Date:     2013-03-22 01:11:38 -0700 (Fri, 22 Mar 2013)
Log Message:
-----------
mcabber: fix autoreconf failure with automake 1.13 (#37856); use -W argument for system; use port:-style dependencies; add dependencies for autoconf, automake and libtool

Modified Paths:
--------------
    trunk/dports/net/mcabber/Portfile

Added Paths:
-----------
    trunk/dports/net/mcabber/files/patch-automake-1.13.diff

Modified: trunk/dports/net/mcabber/Portfile
===================================================================
--- trunk/dports/net/mcabber/Portfile	2013-03-22 08:01:10 UTC (rev 104252)
+++ trunk/dports/net/mcabber/Portfile	2013-03-22 08:11:38 UTC (rev 104253)
@@ -24,12 +24,15 @@
                      path:lib/pkgconfig/glib-2.0.pc:glib2 \
                      port:gettext \
                      port:libotr \
-                     bin:gpgme-config:gpgme \
-                     bin:gcrypt-config:libgcrypt
+                    port:gpgme \
+                    port:libgcrypt
 
-depends_build        bin:gawk:gawk \
-                     bin:pkg-config:pkgconfig \
-                     bin:gmkdir:coreutils
+depends_build       port:autoconf \
+                    port:automake \
+                    port:coreutils \
+                    bin:gawk:gawk \
+                    port:libtool \
+                    port:pkgconfig
 
 configure.args      --enable-otr \
                     --with-libotr-prefix=${prefix}/lib \
@@ -39,10 +42,11 @@
 
 configure.env       LIBTOOL=glibtool
 
-patchfiles          patch-autogen.sh.diff
+patchfiles          patch-autogen.sh.diff \
+                    patch-automake-1.13.diff
 
 pre-configure {
-                    system "cd ${worksrcpath} && ./autogen.sh"
+    system -W ${worksrcpath} "./autogen.sh"
 }
 
 # TODO

Added: trunk/dports/net/mcabber/files/patch-automake-1.13.diff
===================================================================
--- trunk/dports/net/mcabber/files/patch-automake-1.13.diff	                        (rev 0)
+++ trunk/dports/net/mcabber/files/patch-automake-1.13.diff	2013-03-22 08:11:38 UTC (rev 104253)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2009-10-06 14:34:18.000000000 -0500
++++ configure.ac	2013-03-22 03:05:28.000000000 -0500
+@@ -5,7 +5,7 @@
+ AC_INIT([mcabber],[0.9.10],[mcabber at lilotux.net])
+ AM_INIT_AUTOMAKE
+ AC_CONFIG_SRCDIR([src])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS([config.h])
+ 
+ #AC_PROG_LIBTOOL
+ AC_PROG_RANLIB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130322/76c0681e/attachment.html>


More information about the macports-changes mailing list