[84496] trunk/dports/lang/hugs98

Ryan Schmidt ryandesign at macports.org
Mon Sep 26 14:50:29 PDT 2011


On Sep 26, 2011, at 15:39, mww at macports.org wrote:

> Revision: 84496
>          http://trac.macports.org/changeset/84496
> Author:   mww at macports.org
> Date:     2011-09-26 13:38:59 -0700 (Mon, 26 Sep 2011)
> Log Message:
> -----------
> hugs98: use libedit instead of readline
> 
> Modified Paths:
> --------------
>    trunk/dports/lang/hugs98/Portfile
> 
> Added Paths:
> -----------
>    trunk/dports/lang/hugs98/files/patch-configure.diff
> 
> Modified: trunk/dports/lang/hugs98/Portfile
> ===================================================================
> --- trunk/dports/lang/hugs98/Portfile	2011-09-26 19:27:16 UTC (rev 84495)
> +++ trunk/dports/lang/hugs98/Portfile	2011-09-26 20:38:59 UTC (rev 84496)
> @@ -4,6 +4,7 @@
> 
> name                hugs98
> version             plus-Sep2006
> +revision            1
> categories          lang
> maintainers         mww
> platforms           darwin
> @@ -21,8 +22,9 @@
> checksums           md5     e03e0ad79750d037237c47ebe33fa20e \
>                     sha1    1464a80c715bc5f786ea5a4e4257b2ff0dc7e1e9 \
>                     rmd160  4a7e744360a29fbf94f5ac86ea559e80f12205a5
> +patchfiles          patch-configure.diff
> 
> -depends_lib         port:readline
> +depends_lib         port:libedit
> 
> if {${os.platform} == "darwin" && ${os.major} >= 10} {
>     # This fixes the 'Undefined symbols: "_environ"' error
> 
> Added: trunk/dports/lang/hugs98/files/patch-configure.diff
> ===================================================================
> --- trunk/dports/lang/hugs98/files/patch-configure.diff	                        (rev 0)
> +++ trunk/dports/lang/hugs98/files/patch-configure.diff	2011-09-26 20:38:59 UTC (rev 84496)
> @@ -0,0 +1,22151 @@
> +--- work/hugs98-plus-Sep2006/configure	2006-09-21 00:34:03.000000000 +0200
> ++++ configure	2011-09-26 21:22:21.000000000 +0200
> +@@ -1,58 +1,85 @@
> + #! /bin/sh
> + # Guess values for system-dependent variables and create Makefiles.
> +-# Generated by GNU Autoconf 2.60a for Hugs98 1.0.
> ++# Generated by GNU Autoconf 2.68 for Hugs98 1.0.

That's a really enormous patch, and much of the difference is because the old and new configure scripts were generated by different versions of autoconf. It's really hard to tell by reading that diff what it changes, and how one would go about updating it or regenerating it in the future. It would probably be better to commit a patch for configure.ac, and make the port run autoreconf ("use_autoreconf yes").




More information about the macports-dev mailing list