[73467] trunk/dports/x11/blackbox/Portfile

jmr at macports.org jmr at macports.org
Sun Nov 14 05:57:09 PST 2010


Revision: 73467
          http://trac.macports.org/changeset/73467
Author:   jmr at macports.org
Date:     2010-11-14 05:57:05 -0800 (Sun, 14 Nov 2010)
Log Message:
-----------
blackbox: fix build with current X11 (#27118)

Modified Paths:
--------------
    trunk/dports/x11/blackbox/Portfile

Modified: trunk/dports/x11/blackbox/Portfile
===================================================================
--- trunk/dports/x11/blackbox/Portfile	2010-11-14 07:53:04 UTC (rev 73466)
+++ trunk/dports/x11/blackbox/Portfile	2010-11-14 13:57:05 UTC (rev 73467)
@@ -29,6 +29,11 @@
 	port:expat \
 	port:libiconv
 
+post-patch {
+    # the entire use of this define is questionable, but this fixes the build at least
+    reinplace "s|_XUTIL_H_|_X11_XUTIL_H_|" ${worksrcpath}/lib/Util.hh
+}
+
 configure.args  --mandir=${prefix}/share/man \
                 --x-includes=${prefix}/include \
                 --x-libraries=${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101114/60152980/attachment.html>


More information about the macports-changes mailing list