r23307 - gnucash/trunk/src/bin - Elaborate a bit on why compile time XDG_DATA_DIRS is added to the mix

Geert Janssens gjanssens at code.gnucash.org
Tue Oct 22 05:18:47 EDT 2013


Author: gjanssens
Date: 2013-10-22 05:18:43 -0400 (Tue, 22 Oct 2013)
New Revision: 23307
Trac: http://svn.gnucash.org/trac/changeset/23307

Modified:
   gnucash/trunk/src/bin/Makefile.am
Log:
Elaborate a bit on why compile time XDG_DATA_DIRS is added to the mix

This was not clear from the current comment alone

Modified: gnucash/trunk/src/bin/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/Makefile.am	2013-10-21 15:35:57 UTC (rev 23306)
+++ gnucash/trunk/src/bin/Makefile.am	2013-10-22 09:18:43 UTC (rev 23307)
@@ -76,7 +76,10 @@
 	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; \



More information about the gnucash-changes mailing list