summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index f2b296d..a4b61b8 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -431,6 +431,9 @@ HAVE_GNOME+= ${component}
.if defined(_POSTMKINCLUDED)
+# DO NOT USE THESE MACROS! They are obsolete, and only provided for
+# backward compatibility with old ports that have not converted to the new
+# GNOME infrastructure.
.if defined(USE_GTK)
USE_GNOME= gtk12
.endif
@@ -440,11 +443,11 @@ USE_GNOME= esound
.if defined(USE_IMLIB)
USE_GNOME= imlib
.endif
+# End of obsolete macros
-# Hack USE_GNOME to the modular infrastructure for port maintainers that
-# didn't do so themselves. This will allow us to get rid of the old
-# GNOME porting infrastructure more quickly.
.if defined(USE_GNOME)
+# Hack USE_GNOME to the modular infrastructure for port maintainers that
+# didn't do so themselves. New ports should NOT set USE_GNOME=yes.
. if ${USE_GNOME}=="yes"
USE_GNOME=gnomeprefix gnomehack gtkhtml libpanel
. endif
OpenPOWER on IntegriCloud