diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-08-20 13:59:06 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-08-20 13:59:06 +0800 |
commit | 89ed269d0c9a16f52de5e6e1dd57aa22719184b5 (patch) | |
tree | b937e6786ae6f1278ce139ff4f832d8b6ec843f4 /Mk | |
parent | f66c033c779bf35a619fc865e32e960997a22643 (diff) | |
download | marcuscom-ports-89ed269d0c9a16f52de5e6e1dd57aa22719184b5.tar marcuscom-ports-89ed269d0c9a16f52de5e6e1dd57aa22719184b5.tar.gz marcuscom-ports-89ed269d0c9a16f52de5e6e1dd57aa22719184b5.tar.bz2 marcuscom-ports-89ed269d0c9a16f52de5e6e1dd57aa22719184b5.tar.lz marcuscom-ports-89ed269d0c9a16f52de5e6e1dd57aa22719184b5.tar.xz marcuscom-ports-89ed269d0c9a16f52de5e6e1dd57aa22719184b5.tar.zst marcuscom-ports-89ed269d0c9a16f52de5e6e1dd57aa22719184b5.zip |
Add a check to see that GCONF_SCHEMAS is defined around the post-install
target to fix ettercap.
Reported by: tom_mc via IRC.
Suggested by: marcus via IRC.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2697 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gnome.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index 4d3c83147..f74d3c6c3 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -636,16 +636,18 @@ gnome-pre-install: . endif .endif +.if defined(GCONF_SCHEMAS) post-install: gnome-post-install gnome-post-install: -.for i in ${GCONF_SCHEMAS} +. for i in ${GCONF_SCHEMAS} @${ECHO_CMD} "@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/$i > /dev/null || /usr/bin/true" \ >> ${TMPPLIST} @${ECHO_CMD} "etc/gconf/schemas/$i" >> ${TMPPLIST} @${ECHO_CMD} "@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/$i > /dev/null || /usr/bin/true" \ >> ${TMPPLIST} -.endfor +. endfor +.endif .endif # End of use part. |