From e2a8beadf54ecfd9d5a2b019f4c08275f299475b Mon Sep 17 00:00:00 2001
From: Joe Marcus Clarke <marcus@FreeBSD.org>
Date: Tue, 8 Apr 2003 01:11:35 +0000
Subject: Append to USE_GNOME when dealing with the obsolete macros.  This will
 allow old ports that check to see if HAVE_GNOME is simply defined to still
 work.

---
 Mk/bsd.gnome.mk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'Mk')

diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index a4b61b8e8e5a..f7d03b372e7c 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -435,13 +435,13 @@ HAVE_GNOME+=	${component}
 # backward compatibility with old ports that have not converted to the new
 # GNOME infrastructure.
 .if defined(USE_GTK)
-USE_GNOME=	gtk12
+USE_GNOME+=	gtk12
 .endif
 .if defined(USE_ESOUND)
-USE_GNOME=	esound
+USE_GNOME+=	esound
 .endif
 .if defined(USE_IMLIB)
-USE_GNOME=	imlib
+USE_GNOME+=	imlib
 .endif
 # End of obsolete macros
 
@@ -449,7 +449,7 @@ USE_GNOME=	imlib
 # 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
+USE_GNOME+=gnomeprefix gnomehack gtkhtml libpanel
 . endif
 
 # Set a reasonable (overrideable) configure target for GNOME apps.
-- 
cgit v1.2.3