[111228] trunk/dports/devel/autoconf

larryv at macports.org larryv at macports.org
Mon Sep 16 23:23:52 PDT 2013


Revision: 111228
          https://trac.macports.org/changeset/111228
Author:   larryv at macports.org
Date:     2013-09-16 23:23:52 -0700 (Mon, 16 Sep 2013)
Log Message:
-----------
autoconf: Avoid help2man dependency by patching the pregenerated
autoreconf man page.

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

Added Paths:
-----------
    trunk/dports/devel/autoconf/files/
    trunk/dports/devel/autoconf/files/glibtool.patch

Modified: trunk/dports/devel/autoconf/Portfile
===================================================================
--- trunk/dports/devel/autoconf/Portfile	2013-09-17 06:16:48 UTC (rev 111227)
+++ trunk/dports/devel/autoconf/Portfile	2013-09-17 06:23:52 UTC (rev 111228)
@@ -32,14 +32,11 @@
 checksums        rmd160 666aa45a58e856968c651e2a3b44be38de9c14e4 \
                  sha256 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
 
-depends_build    port:help2man
 depends_lib      port:perl5 \
                  port:m4
 
-# If libtool is eventually installed, it will provide glibtoolize (not libtoolize)
-post-patch {
-  reinplace "s|'libtoolize'|'glibtoolize'|" ${worksrcpath}/bin/autoreconf.in
-}
+# The libtool port installs "glibtool" and "glibtoolize".
+patchfiles       glibtool.patch
 
 configure.perl   ${prefix}/bin/perl
 

Added: trunk/dports/devel/autoconf/files/glibtool.patch
===================================================================
--- trunk/dports/devel/autoconf/files/glibtool.patch	                        (rev 0)
+++ trunk/dports/devel/autoconf/files/glibtool.patch	2013-09-17 06:23:52 UTC (rev 111228)
@@ -0,0 +1,22 @@
+Index: man/autoreconf.1
+===================================================================
+--- man.orig/autoreconf.1
++++ man/autoreconf.1
+@@ -7,7 +7,7 @@ autoreconf \- Update generated configura
+ [\fIOPTION\fR]... [\fIDIRECTORY\fR]...
+ .SH DESCRIPTION
+ Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint'
+-(formerly `gettextize'), and `libtoolize' where appropriate)
++(formerly `gettextize'), and `glibtoolize' where appropriate)
+ repeatedly to remake the GNU Build System files in specified
+ DIRECTORIES and their subdirectories (defaulting to `.').
+ .PP
+@@ -118,7 +118,7 @@ There is NO WARRANTY, to the extent perm
+ .BR config.guess (1),
+ .BR config.sub (1),
+ .BR ifnames (1),
+-.BR libtool (1).
++.BR glibtool (1).
+ .PP
+ The full documentation for
+ .B autoreconf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130916/9bcd978b/attachment.html>


More information about the macports-changes mailing list