aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-10-31 17:11:23 +0800
committerjylefort <jylefort@FreeBSD.org>2006-10-31 17:11:23 +0800
commit03c2730b36418846d9b49ab533465ece9a54db38 (patch)
tree023514a7dd4985271cf4b2dee677fc8fe08b9213
parent94f79d46a570543de4ef23c9bd633cb7814151ac (diff)
downloadfreebsd-ports-gnome-03c2730b36418846d9b49ab533465ece9a54db38.tar.gz
freebsd-ports-gnome-03c2730b36418846d9b49ab533465ece9a54db38.tar.zst
freebsd-ports-gnome-03c2730b36418846d9b49ab533465ece9a54db38.zip
Add USE_GNOME_SUBR knob (pulls in sysutils/gnome_subr and adds
GNOME_SUBR to SUB_LIST).
-rw-r--r--Mk/bsd.gnome.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 4b4c672dcc29..839ee8f30119 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -728,6 +728,12 @@ PLIST_SUB+= GNOMEDESKTOP:="@comment " NOGNOMEDESKTOP:=""
. endif
.endif
+.if defined(USE_GNOME_SUBR)
+GNOME_SUBR= ${LOCALBASE}/etc/gnome.subr
+RUN_DEPENDS+= ${GNOME_SUBR}:${PORTSDIR}/sysutils/gnome_subr
+SUB_LIST+= GNOME_SUBR=${GNOME_SUBR}
+.endif
+
.if ${MAINTAINER}=="gnome@FreeBSD.org"
CONFIGURE_FAIL_MESSAGE= "Please run 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 build failure to the FreeBSD GNOME team at ${MAINTAINER}, and attach (a) \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an \`ls ${PKG_DBDIR}\`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (${MAINTAINER}), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software."
.endif