From c43f196739ebb98add65cfc34d14cb623bdc4a98 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 11 Jul 2002 16:37:11 +0000 Subject: Ensure that HAVE_GNOME is always defined, to make detection of optional gnome components easier and update example accordingly. --- Mk/bsd.gnomeng.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mk/bsd.gnomeng.mk b/Mk/bsd.gnomeng.mk index 389f9c47c30b..195331877e9f 100644 --- a/Mk/bsd.gnomeng.mk +++ b/Mk/bsd.gnomeng.mk @@ -209,7 +209,7 @@ libpanel_USE_GNOME_IMPL=gnomelibs # # .include # -# .if defined(HAVE_GNOME) && ${HAVE_GNOME:Mfoo}!="" +# .if ${HAVE_GNOME:Mfoo}!="" # ... Do some things ... # USE_GNOME= foo # .else @@ -217,6 +217,7 @@ libpanel_USE_GNOME_IMPL=gnomelibs # .endif _USE_GNOME_SAVED:=${USE_GNOME} +HAVE_GNOME?= .if defined(WANT_GNOME) && !defined(WITHOUT_GNOME) . for component in ${_USE_GNOME_ALL} . if exists(${${component}_DETECT}) || defined(WITH_GNOME) -- cgit v1.2.3