summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 16:37:11 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-11 16:37:11 +0000
commitc43f196739ebb98add65cfc34d14cb623bdc4a98 (patch)
tree18574fbf0778c2415112e3f0b96af5f8336adf75 /Mk
parentPrepare for the upcoming mega-conversion to bsd.gnomeng.mk: (diff)
Ensure that HAVE_GNOME is always defined, to make detection of optional
gnome components easier and update example accordingly.
Notes
Notes: svn path=/head/; revision=62817
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnomeng.mk3
1 files changed, 2 insertions, 1 deletions
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 <bsd.port.pre.mk>
#
-# .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)