summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-07 20:11:54 +0000
committermarcus <marcus@FreeBSD.org>2003-04-07 20:11:54 +0000
commit71a43d8736c29c450df686f62f3b103f07cede54 (patch)
tree3abceafbedacec346ae84e585ad29c2f4d690d7f /Mk
parent8f15e8422f601b07ac282b4eb2cecfad47b175c2 (diff)
downloadFreeBSD-ports-71a43d8736c29c450df686f62f3b103f07cede54.zip
FreeBSD-ports-71a43d8736c29c450df686f62f3b103f07cede54.tar.gz
Add some comments around the USE_* macros indicating they are now
obsolete, and new ports should not use them.
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