Modified: trunk/dports/gnome/gnome-terminal/Portfile (87297 => 87298)
--- trunk/dports/gnome/gnome-terminal/Portfile 2011-11-16 18:50:41 UTC (rev 87297)
+++ trunk/dports/gnome/gnome-terminal/Portfile 2011-11-16 20:00:46 UTC (rev 87298)
@@ -37,6 +37,27 @@
--disable-schemas-install \
--disable-scrollkeeper
+#
+# while there is an attempt at a quartz version of this port
+# it has not been maintained upstream for some time and
+# the quartz build is massively broken at this time due to:
+#
+# * explicit use of X11 API in terminal.c even though configured to use quartz
+# * use of obsolete Carbon/QuickDraw API in eggsmclient-osx.c
+#
+# if +quartz is asserted disable X11 dependencies to avoid polluting a clean quartz environment
+# but terminate with error before build phase, #32059
+#
+
+variant quartz {
+ depends_lib-delete port:xorg-libsm
+ pre-build {
+ ui_error "${name} does not currently support +quartz builds."
+ ui_error "Please try again without the +quartz variant."
+ return -code error "+quartz build broken."
+ }
+}
+
post-activate {
system "${prefix}/bin/scrollkeeper-update"
system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true"