aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-08 04:11:54 +0800
committermarcus <marcus@FreeBSD.org>2003-04-08 04:11:54 +0800
commit71a43d8736c29c450df686f62f3b103f07cede54 (patch)
tree3abceafbedacec346ae84e585ad29c2f4d690d7f /Mk/bsd.gnome.mk
parent8f15e8422f601b07ac282b4eb2cecfad47b175c2 (diff)
downloadfreebsd-ports-gnome-71a43d8736c29c450df686f62f3b103f07cede54.tar.gz
freebsd-ports-gnome-71a43d8736c29c450df686f62f3b103f07cede54.tar.zst
freebsd-ports-gnome-71a43d8736c29c450df686f62f3b103f07cede54.zip
Add some comments around the USE_* macros indicating they are now
obsolete, and new ports should not use them.
Diffstat (limited to 'Mk/bsd.gnome.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