From fa02c8ddb476426323c134fc7394a97c0c74ab5f Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Tue, 22 Oct 2013 09:18:43 +0000 Subject: [PATCH] Elaborate a bit on why compile time XDG_DATA_DIRS is added to the mix This was not clear from the current comment alone git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23307 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/bin/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 9467382c70..9b76c882f4 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -76,7 +76,10 @@ if CUSTOM_GNC_DBD_DIR echo 'GNC_DBD_DIR=@GNC_DBD_DIR@' >> $@.tmp endif # Set XDG_DATA_DIRS if necessary. This is done in such a way that the value at - # run time overrieds the value at compile time which overrides the default value + # run time overrides the value at compile time which overrides the default value + # The compile time value is added because GnuCash on X11 builds on MacPorts, which + # uses /opt/local/share as default instead of the Free Desktop defined standard paths + # /usr/local/share and /usr/share if [ "a$(prefix)" != "a/usr" ] && [ "a$(prefix)" != "a/usr/local" ]; \ then \ echo >> $@.tmp; \