[53294] trunk/dports/gnome/vte
devans at macports.org
devans at macports.org
Thu Jul 2 13:12:00 PDT 2009
Revision: 53294
http://trac.macports.org/changeset/53294
Author: devans at macports.org
Date: 2009-07-02 13:11:59 -0700 (Thu, 02 Jul 2009)
Log Message:
-----------
vte: use vte internal define X_DISPLAY_MISSING to allow vte to build if gtk2 is installed +no_x11.
Modified Paths:
--------------
trunk/dports/gnome/vte/Portfile
Added Paths:
-----------
trunk/dports/gnome/vte/files/
trunk/dports/gnome/vte/files/patch-x-display-missing.diff
Modified: trunk/dports/gnome/vte/Portfile
===================================================================
--- trunk/dports/gnome/vte/Portfile 2009-07-02 19:44:06 UTC (rev 53293)
+++ trunk/dports/gnome/vte/Portfile 2009-07-02 20:11:59 UTC (rev 53294)
@@ -32,6 +32,10 @@
port:intltool \
port:pkgconfig
+if { ![file exists ${prefix}/include/gtk-2.0/gdk/gdkx.h] } {
+ patchfiles patch-x-display-missing.diff
+}
+
configure.args --disable-freetypetest
configure.python ${prefix}/bin/python2.5
Added: trunk/dports/gnome/vte/files/patch-x-display-missing.diff
===================================================================
--- trunk/dports/gnome/vte/files/patch-x-display-missing.diff (rev 0)
+++ trunk/dports/gnome/vte/files/patch-x-display-missing.diff 2009-07-02 20:11:59 UTC (rev 53294)
@@ -0,0 +1,11 @@
+--- src/vtebg.c.orig 2009-07-02 12:32:09.000000000 -0700
++++ src/vtebg.c 2009-07-02 12:33:30.000000000 -0700
+@@ -72,6 +72,8 @@
+ }
+ #endif
+
++#define X_DISPLAY_MISSING
++
+ #ifndef X_DISPLAY_MISSING
+
+ #include <gdk/gdkx.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090702/c3e39039/attachment.html>
More information about the macports-changes
mailing list