summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-07 20:11:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-07 20:11:54 +0000
commit158db104719b0284a99d85538c3e2f28dce22987 (patch)
tree95ef8f55844330cdc59f9d1938684a1c96eaa8c6 /Mk
parentAdd I18N conversion to IRC topic messages. (diff)
Add some comments around the USE_* macros indicating they are now
obsolete, and new ports should not use them.
Notes
Notes: svn path=/head/; revision=78545
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 f2b296d01175..a4b61b8e8e5a 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