From 88bd438cb727d9301a7f38405a2b69df4e7aeaed Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 5 Nov 2005 15:15:21 +0000 Subject: [PATCH] As nice as .warning is for telling ports they're doing A Bad Thing, it is not generally available in all versions of make(1) (specifically, it was never ported to 4.X). This was causing INDEX builds to break on 4.X. Reported by: cperciva --- Mk/bsd.gnome.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index 3aff67b6f79f..a17d2246fcdf 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -567,7 +567,7 @@ Gnome_Post_Include= bsd.gnome.mk # backward compatibility with old ports that have not converted to the new # GNOME infrastructure. .if defined(USE_GTK) -.warning The USE_GTK macro is deprecated. It should be replaced by USE_GNOME=gtk12. +#.warning The USE_GTK macro is deprecated. It should be replaced by USE_GNOME=gtk12. USE_GNOME+= gtk12 .endif # End of obsolete macros @@ -576,7 +576,7 @@ USE_GNOME+= gtk12 # 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" -.warning The USE_GNOME=yes component is deprecated. It should be replaced by some combination of gnomeprefix, gnomehack, and gtkhtml +#.warning The USE_GNOME=yes component is deprecated. It should be replaced by some combination of gnomeprefix, gnomehack, and gtkhtml USE_GNOME:= ${USE_GNOME:S/yes//} USE_GNOME+= gnomeprefix gnomehack gtkhtml . endif