[128496] trunk/dports/devel/libast

ryandesign at macports.org ryandesign at macports.org
Sat Nov 22 04:14:35 PST 2014


Revision: 128496
          https://trac.macports.org/changeset/128496
Author:   ryandesign at macports.org
Date:     2014-11-22 04:14:35 -0800 (Sat, 22 Nov 2014)
Log Message:
-----------
libast: modernize use of AC_INIT and AM_INIT_AUTOMAKE; add -i argument when running autoreconf to fix #45953

Modified Paths:
--------------
    trunk/dports/devel/libast/Portfile

Added Paths:
-----------
    trunk/dports/devel/libast/files/patch-configure.ac.diff

Removed Paths:
-------------
    trunk/dports/devel/libast/files/patch-automake-1.13.diff

Modified: trunk/dports/devel/libast/Portfile
===================================================================
--- trunk/dports/devel/libast/Portfile	2014-11-22 11:11:54 UTC (rev 128495)
+++ trunk/dports/devel/libast/Portfile	2014-11-22 12:14:35 UTC (rev 128496)
@@ -30,8 +30,12 @@
 	port:pcre \
 	port:freetype
 
-patchfiles          patch-automake-1.13.diff
+post-extract {
+    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
+}
+patch.args -b
+patchfiles          patch-configure.ac.diff
 
 use_autoreconf yes
-autoreconf.args -fv
+autoreconf.args -fvi
 autoreconf.env ACLOCAL="aclocal -I ${prefix}/share/aclocal -I ."

Deleted: trunk/dports/devel/libast/files/patch-automake-1.13.diff
===================================================================
--- trunk/dports/devel/libast/files/patch-automake-1.13.diff	2014-11-22 11:11:54 UTC (rev 128495)
+++ trunk/dports/devel/libast/files/patch-automake-1.13.diff	2014-11-22 12:14:35 UTC (rev 128496)
@@ -1,11 +0,0 @@
---- configure.in.orig	2006-01-16 22:23:49.000000000 -0600
-+++ configure.in	2013-01-22 09:25:05.000000000 -0600
-@@ -21,7 +21,7 @@
- AC_INIT(configure.in)
- AM_INIT_AUTOMAKE(libast, 0.7)
- AC_DEFINE_UNQUOTED(LIBAST_VERSION, "$VERSION", [Version])
--AM_CONFIG_HEADER(config.h include/libast/sysdefs.h)
-+AC_CONFIG_HEADERS([config.h include/libast/sysdefs.h])
- 
- LIBTOOLIZE="${SAVE_LIBTOOLIZE:-libtoolize}"
- ACLOCAL="${SAVE_ACLOCAL:-aclocal}"

Copied: trunk/dports/devel/libast/files/patch-configure.ac.diff (from rev 128493, trunk/dports/devel/libast/files/patch-automake-1.13.diff)
===================================================================
--- trunk/dports/devel/libast/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/devel/libast/files/patch-configure.ac.diff	2014-11-22 12:14:35 UTC (rev 128496)
@@ -0,0 +1,17 @@
+--- configure.ac.orig	2006-01-16 22:23:49.000000000 -0600
++++ configure.ac	2014-11-22 06:00:59.000000000 -0600
+@@ -18,10 +18,11 @@
+ SAVE_AUTOHEADER="$AUTOHEADER"
+ SAVE_AUTOMAKE="$AUTOMAKE"
+ 
+-AC_INIT(configure.in)
+-AM_INIT_AUTOMAKE(libast, 0.7)
++AC_INIT([LibAST], [0.7])
++AC_CONFIG_SRCDIR([configure.ac])
++AM_INIT_AUTOMAKE
+ AC_DEFINE_UNQUOTED(LIBAST_VERSION, "$VERSION", [Version])
+-AM_CONFIG_HEADER(config.h include/libast/sysdefs.h)
++AC_CONFIG_HEADERS([config.h include/libast/sysdefs.h])
+ 
+ LIBTOOLIZE="${SAVE_LIBTOOLIZE:-libtoolize}"
+ ACLOCAL="${SAVE_ACLOCAL:-aclocal}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141122/1c3230a7/attachment-0001.html>


More information about the macports-changes mailing list