From 32601f28e148acb8972d79db06d500a70bd2a42d Mon Sep 17 00:00:00 2001
From: adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>
Date: Tue, 20 Jul 2004 00:52:28 +0000
Subject: If the gconf2 component, is being used, overload pre-install to
 explicitly create ${PREFIX}/etc/gconf/gconf.xml.defaults/. A number of ports
 don't, and they fail for installation into non-standard prefixes.

git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2494 df743ca5-7f9a-e211-a948-0013205c9059
---
 Mk/bsd.gnome.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'Mk')

diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 0b87878a0..7d57066b7 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -621,5 +621,13 @@ 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_ALL:Mgconf2}!=""
+pre-install: gnome-pre-install
+
+gnome-pre-install:
+	@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/
+
+.endif
+
 .endif
 # End of use part.
-- 
cgit v1.2.3