summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authoradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-20 08:52:28 +0800
committeradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-20 08:52:28 +0800
commit32601f28e148acb8972d79db06d500a70bd2a42d (patch)
treee4ceccf8157b5ee73711b638ce1cb67bf87e375e /Mk
parentb6c952172caa626e32db3fcae6ba4b46bbdd4869 (diff)
downloadmarcuscom-ports-32601f28e148acb8972d79db06d500a70bd2a42d.tar
marcuscom-ports-32601f28e148acb8972d79db06d500a70bd2a42d.tar.gz
marcuscom-ports-32601f28e148acb8972d79db06d500a70bd2a42d.tar.bz2
marcuscom-ports-32601f28e148acb8972d79db06d500a70bd2a42d.tar.lz
marcuscom-ports-32601f28e148acb8972d79db06d500a70bd2a42d.tar.xz
marcuscom-ports-32601f28e148acb8972d79db06d500a70bd2a42d.tar.zst
marcuscom-ports-32601f28e148acb8972d79db06d500a70bd2a42d.zip
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
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk8
1 files changed, 8 insertions, 0 deletions
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.