aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-08-11 13:06:30 +0800
committermarcus <marcus@FreeBSD.org>2004-08-11 13:06:30 +0800
commit6638b55b3548e193883b018a0bf830d6fc6cd37f (patch)
treec3adcd9d99e621c1859ff558e1bc5652a16d7a81 /Mk/bsd.gnome.mk
parent9fc3b518c48ffa2ae78a1594220d40e1159485ed (diff)
downloadfreebsd-ports-gnome-6638b55b3548e193883b018a0bf830d6fc6cd37f.tar.gz
freebsd-ports-gnome-6638b55b3548e193883b018a0bf830d6fc6cd37f.tar.zst
freebsd-ports-gnome-6638b55b3548e193883b018a0bf830d6fc6cd37f.zip
Use some more hackery to make sure _USE_GNOME is actually defined, and that
gconf2 is actually one of the requested components. Reported by: INDEX build script
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 918aa09b4e92..02f00e7f5971 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -609,7 +609,8 @@ PLIST_SUB+= GNOMEDESKTOP:="@comment " NOGNOMEDESKTOP:=""
CONFIGURE_FAIL_MESSAGE= "Please direct the output of the failure of the make command to a file, and then feed that file to the gnomelogalyzer, available from "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the problem to the FreeBSD GNOME team at ${MAINTAINER}, and attach \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" and the output of the failure of the make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an \`ls ${PKG_DBDIR}\`)."
.endif
-.if ${_USE_GNOME:Mgconf2}!=""
+_GCONF2_TEST= ${_USE_GNOME:Mgconf2}
+.if ${_GCONF2_TEST:S/gconf2//}!=${_GCONF2_TEST:S/ / /g}
pre-install: gnome-pre-install
gnome-pre-install: