[38986] trunk/dports/textproc/texinfo/Portfile

vinc17 at macports.org vinc17 at macports.org
Mon Aug 4 18:04:45 PDT 2008


Revision: 38986
          http://trac.macosforge.org/projects/macports/changeset/38986
Author:   vinc17 at macports.org
Date:     2008-08-04 18:04:45 -0700 (Mon, 04 Aug 2008)
Log Message:
-----------
Output a useful informational message to avoid bug reports like #16220.

Modified Paths:
--------------
    trunk/dports/textproc/texinfo/Portfile

Modified: trunk/dports/textproc/texinfo/Portfile
===================================================================
--- trunk/dports/textproc/texinfo/Portfile	2008-08-05 00:41:46 UTC (rev 38985)
+++ trunk/dports/textproc/texinfo/Portfile	2008-08-05 01:04:45 UTC (rev 38986)
@@ -22,6 +22,14 @@
 extract.suffix  .tar.lzma
 extract.cmd     unlzma
 
+# The following message is useful because MacPorts doesn't test whether
+# the extract target fails, and unless the -v option has been used, the
+# error message "sh: line 1: unlzma: command not found" is filtered out
+# and the user doesn't know the cause of the problem.
+pre-extract {
+    ui_msg "If you get an error with configure, please install lzmautils."
+}
+
 checksums       md5 81bcbc7b647f2741e7d84a842e47eeb5 \
                 sha1 7fee7f9c9c98e0d69b4b00090708b02ed75e42f5 \
                 rmd160 b72d1994480acd217d0a7cff648d0bbc78ad9010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/e31e1926/attachment-0001.html 


More information about the macports-changes mailing list