diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2004-07-22 16:04:44 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2004-07-22 16:04:44 +0000 |
commit | ba90b71fb7d2df8d6d7854641a9414ad6cc61979 (patch) | |
tree | 8d2eff57e7b3e4f1eb25eaa9bd3967f4c9299e50 | |
parent | 280046feabbcbf13a339127f9bc3712ab76c5d3c (diff) | |
download | ports-ba90b71fb7d2df8d6d7854641a9414ad6cc61979.tar.gz ports-ba90b71fb7d2df8d6d7854641a9414ad6cc61979.zip |
If the gconf2 USE_GNOME component is used, overload the
pre-install target to explicitly create
${PREFIX}/etc/gconf/gconf.xml.defaults/.
A number of ports don't create this directory automatically.
In normal uses, this doesn't cause a problem, but many of us
prefer to test out plists by installing into custom prefixes.
This prevents those custom prefix installation tests from
failing.
Inspired by: John Merryweather Cooper <coop9211@uidaho.edu>
Notes
Notes:
svn path=/head/; revision=114443
-rw-r--r-- | Mk/bsd.gnome.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index 6520a29c670a..491fb09c3b12 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -609,5 +609,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. |