summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-30 07:25:55 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-30 07:25:55 +0800
commit49efe9fd1569978fb5c61b9d3a3c4d68cbbb0a81 (patch)
treea0d54c351127c319fe6392a9f9e31421dcda113a
parent902cfa5d56fe25c038a1b0e6df14c0aed33d3a54 (diff)
downloadmarcuscom-ports-49efe9fd1569978fb5c61b9d3a3c4d68cbbb0a81.tar
marcuscom-ports-49efe9fd1569978fb5c61b9d3a3c4d68cbbb0a81.tar.gz
marcuscom-ports-49efe9fd1569978fb5c61b9d3a3c4d68cbbb0a81.tar.bz2
marcuscom-ports-49efe9fd1569978fb5c61b9d3a3c4d68cbbb0a81.tar.lz
marcuscom-ports-49efe9fd1569978fb5c61b9d3a3c4d68cbbb0a81.tar.xz
marcuscom-ports-49efe9fd1569978fb5c61b9d3a3c4d68cbbb0a81.tar.zst
marcuscom-ports-49efe9fd1569978fb5c61b9d3a3c4d68cbbb0a81.zip
Be more careful about creating ${PREFIX}/etc/gconf, so that it is only done
when the port installs GConf schemas. Obtained from: FreeBSD ports tree git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3158 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--Mk/bsd.gnome.mk16
1 files changed, 7 insertions, 9 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 2e91d6fca..e36137946 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -654,19 +654,17 @@ 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 defined(_USE_GNOME)
-. if ${_USE_GNOME:Mgconf}!="" || ${_USE_GNOME:Mgconf2}!=""
-pre-install: gnome-pre-install
+.if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF)
+pre-su-install: gnome-pre-su-install
+post-install: gnome-post-install
-gnome-pre-install:
+gnome-pre-su-install:
+.if defined(GCONF_SCHEMAS)
@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/
-
-. endif
+.else
+ @${DO_NADA}
.endif
-.if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF)
-post-install: gnome-post-install
-
gnome-post-install:
. if defined(GCONF_SCHEMAS)
@for i in ${GCONF_SCHEMAS}; do \