summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-11 16:37:11 +0000
committersobomax <sobomax@FreeBSD.org>2002-07-11 16:37:11 +0000
commitf3706cbc7e76608728a5b9d6b8faee254e8da395 (patch)
tree5e99585596292d0f9b1e57e42f551f01906a33ef /Mk
parented3712c4db61d1a3cf178535b7b6ea340012ac3e (diff)
downloadFreeBSD-ports-f3706cbc7e76608728a5b9d6b8faee254e8da395.zip
FreeBSD-ports-f3706cbc7e76608728a5b9d6b8faee254e8da395.tar.gz
Ensure that HAVE_GNOME is always defined, to make detection of optional
gnome components easier and update example accordingly.
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 389f9c4..1953318 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)
OpenPOWER on IntegriCloud