Win32 - installer.sh - minor pkg_config tweak
harold felton
hfelton_lists at hotmail.com
Thu Dec 21 08:27:21 EST 2006
= = = Original message = = =
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hfelton-lists schrieb:
>this is totally minor, but it annoyed me and looks to be
>harmless in the overall scheme... (related to the profile.d
>issue because i kept getting update msgs for it)
Actually this (probably) doesn't work. If the PKG_CONFIG variable is set
in the environment to some value, say, /foo/bin/pkg-config, then in line
469 the add_to_env function will *append* the new value to the existing
value, giving
PKG_CONFIG=/foo/bin/pkg-config:/gnome/bin/pkg-config-msys.sh -- and that
value cannot be used as a command name anymore.
So either line 469 has to be changed, or, as it is done currently, the
variable has to be emptied beforehand.
-----
actually, i think it PREpends the variables -
PKG_CONFIG=/gnome/bin/pkg-config-msys.sh:$PKG_CONFIG
like it does for PATH and everything else...
you might be correct that this variable should probably
be unique to the compile and discarded - rather than
saved for posterity as it is currently. this is one
of those odd cases where im not sure what the correct
answer is - but i do know that in my case (only doing
one compile in this environment -or- only recompiling
this one program repeatedly) it seemed correct.
h.
>
>have fun, h.
>
>Index: install.sh
>===================================================================
>--- install.sh (revision 15239)
>+++ install.sh (working copy)
>@@ -21,7 +21,6 @@
> SEPS_INTLTOOL_PERL=" "
> SEPS_PATH=":"
> SEPS_PKG_CONFIG=":"
>-PKG_CONFIG=""
> SEPS_PKG_CONFIG_PATH=":"
> SEPS_READLINE_CPPFLAGS=" "
> SEPS_READLINE_LDFLAGS=" "
>_______________________________________________
>gnucash-devel mailing list
>gnucash-devel at gnucash.org
>https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBRYqFG2XAi+BfhivFAQI7MgP7Bimn34d+d629ijXxnTXFeIGFXoSSJMkl
++2tYGwGHE0Dy2/kX0LW5vWvaiYd5QLTah3KJxJuE4fmrK9wuHc3D73JtjK4xXSy
cEsMAwmHs29zGGtbbaE6xkk7CnRxsNTAKWuFV8boD911JPd/yfC69Gn6vh2zEkEs
VnhJBbg9z8g=
=78yd
-----END PGP SIGNATURE-----
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.
_________________________________________________________________
Dave vs. Carl: The Insignificant Championship Series. Who will win?
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001
More information about the gnucash-devel
mailing list