summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-11-01 01:31:32 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-11-01 01:31:32 +0800
commit4078a047623e22cbeb00ebca36e5f81ddbf8500a (patch)
tree4fe75dec8d67df5e2d95b73770571d905cccff7f /Mk
parent569381fceb32a2132c3888ebe4062af14180eefa (diff)
downloadmarcuscom-ports-4078a047623e22cbeb00ebca36e5f81ddbf8500a.tar
marcuscom-ports-4078a047623e22cbeb00ebca36e5f81ddbf8500a.tar.gz
marcuscom-ports-4078a047623e22cbeb00ebca36e5f81ddbf8500a.tar.bz2
marcuscom-ports-4078a047623e22cbeb00ebca36e5f81ddbf8500a.tar.lz
marcuscom-ports-4078a047623e22cbeb00ebca36e5f81ddbf8500a.tar.xz
marcuscom-ports-4078a047623e22cbeb00ebca36e5f81ddbf8500a.tar.zst
marcuscom-ports-4078a047623e22cbeb00ebca36e5f81ddbf8500a.zip
Add GNOME_SUBR support from the ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7848 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index ccd0bdc20..57d352912 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -3,7 +3,7 @@
#
# $FreeBSD$
# $NetBSD: $
-# $MCom: ports/Mk/bsd.gnome.mk,v 1.403 2006/10/15 03:43:19 marcus Exp $
+# $MCom: ports/Mk/bsd.gnome.mk,v 1.404 2006/10/18 07:44:58 marcus Exp $
#
# Please view me with 4 column tabs!
@@ -742,6 +742,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