aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-12 00:37:11 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-12 00:37:11 +0800
commitf3706cbc7e76608728a5b9d6b8faee254e8da395 (patch)
tree5e99585596292d0f9b1e57e42f551f01906a33ef /Mk
parented3712c4db61d1a3cf178535b7b6ea340012ac3e (diff)
downloadfreebsd-ports-gnome-f3706cbc7e76608728a5b9d6b8faee254e8da395.tar.gz
freebsd-ports-gnome-f3706cbc7e76608728a5b9d6b8faee254e8da395.tar.zst
freebsd-ports-gnome-f3706cbc7e76608728a5b9d6b8faee254e8da395.zip
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 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)