texinfo building error

Vincent Lefevre vincent-opdarw at vinc17.org
Fri Sep 14 10:41:06 PDT 2007


On 2007-09-14 19:25:13 +0200, Vincent Lefevre wrote:
> The "else" is taken when you don't have the coreutils mkdir. And the
> problem is that the install-sh doesn't have the exec bit set (this is
> not a problem in general, but here it is, and upstream isn't aware of
> this). I'll report the bug and also patch the texinfo port later
> tonight.

I've fixed the port:

Index: Portfile
===================================================================
--- Portfile    (revision 29083)
+++ Portfile    (working copy)
@@ -23,6 +23,11 @@
                 port:libiconv \
                 port:ncurses
 
+# Needed if the coreutils port isn't installed (this is an upstream bug).
+pre-patch {
+    file attributes ${worksrcpath}/build-aux/install-sh -permissions ugo+x
+}
+
 pre-destroot {
     xinstall -d "${destroot}${prefix}/share/doc/${name}"
     xinstall -m 644 -v -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \

-- 
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



More information about the macports-users mailing list