On Sat, 2 Jan 2010, vszak...@users.sourceforge.net wrote:
> * config/global.mk
> ! Fixed debian package manager detection, as suggest by
> Tamas Tevesz.
you nicely beat me to it while i was preoccupied ;)
the floowing (also attached) could also be applied for uniformity.
Index: config/global.mk
===================================================================
--- config/global.mk (revision 13437)
+++ config/global.mk (working copy)
@@ -507,10 +507,10 @@
# try to detect MinGW cross-compiler location using some default
platform settings
ifeq ($(HB_CCPATH)$(HB_CCPREFIX),)
- ifneq ($(call find_in_path_raw,debian_version,/etc),)
+ ifneq ($(wildcard /etc/debian_version),)
HB_CCPREFIX := i586-mingw32msvc-
else
- ifneq ($(call find_in_path_raw,gentoo-release,/etc),)
+ ifneq ($(wildcard /etc/gentoo-release),)
ifneq ($(call
find_in_path_par,i386-mingw32msvc-gcc,/opt/xmingw/bin),)
HB_CCPATH := /opt/xmingw/
HB_CCPREFIX := i386-mingw32msvc-
--
[-]
mkdir /nonexistent
Index: config/global.mk
===================================================================
--- config/global.mk (revision 13437)
+++ config/global.mk (working copy)
@@ -507,10 +507,10 @@
# try to detect MinGW cross-compiler location using some default platform settings
ifeq ($(HB_CCPATH)$(HB_CCPREFIX),)
- ifneq ($(call find_in_path_raw,debian_version,/etc),)
+ ifneq ($(wildcard /etc/debian_version),)
HB_CCPREFIX := i586-mingw32msvc-
else
- ifneq ($(call find_in_path_raw,gentoo-release,/etc),)
+ ifneq ($(wildcard /etc/gentoo-release),)
ifneq ($(call find_in_path_par,i386-mingw32msvc-gcc,/opt/xmingw/bin),)
HB_CCPATH := /opt/xmingw/
HB_CCPREFIX := i386-mingw32msvc-
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour