2008-11-19 09:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* bin/hb-func.sh
  * mpkg_tgz.sh
    ! Fixed OSX/Darwin builds:
      - to not require harbour.dylib for binary tools supplied 
        in .tgz package. This way, hbrun/hbmake/hbdoc/hbtest 
        will work out of the box without the need for any 
        special installation or extra manual procedure, or 
        any change whatsoever in the user/system environment. 
        The change also doesn't prevent user installing Harbour 
        to system dirs and/or to utilize harbour.dylib in every way.
      - so that hbmk script creates '-static' executables by default.
        This will make all programs created by hbmk to work out of the 
        box without any special trick described above, or explicit 
        need to use '-static' switch.
        You can override this with '-shared' switch.
      ; [ The price to pay is slightly larger binary package 
          and executable sizes. ]

  * make_gnu.sh
    * Minor sync in help text with recent change.

  * common.mak
    ! Old typo.
This commit is contained in:
Viktor Szakats
2008-11-19 08:05:19 +00:00
parent 61cd9e0e8c
commit 230eeecfc5
5 changed files with 39 additions and 2 deletions

View File

@@ -8,6 +8,31 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2008-11-19 09:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
* mpkg_tgz.sh
! Fixed OSX/Darwin builds:
- to not require harbour.dylib for binary tools supplied
in .tgz package. This way, hbrun/hbmake/hbdoc/hbtest
will work out of the box without the need for any
special installation or extra manual procedure, or
any change whatsoever in the user/system environment.
The change also doesn't prevent user installing Harbour
to system dirs and/or to utilize harbour.dylib in every way.
- so that hbmk script creates '-static' executables by default.
This will make all programs created by hbmk to work out of the
box without any special trick described above, or explicit
need to use '-static' switch.
You can override this with '-shared' switch.
; [ The price to pay is slightly larger binary package
and executable sizes. ]
* make_gnu.sh
* Minor sync in help text with recent change.
* common.mak
! Old typo.
2008-11-19 06:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
* updated OS release version checking for new OpenSuse distros

View File

@@ -130,6 +130,17 @@ mk_hbtools()
hb_shared_default=" (default)"
fi
hb_exesuf=".exe"
elif [ "${HB_ARCHITECTURE}" = "darwin" ]; then
hb_tool="$1/${hb_pref}-build"
hb_path_separator=":"
if [ "${HB_MK_STATIC}" != "no" ]; then
hb_static="yes"
hb_static_default=" (default)"
else
hb_static="no"
hb_shared_default=" (default)"
fi
hb_exesuf=""
else
hb_tool="$1/${hb_pref}-build"
hb_path_separator=":"

View File

@@ -29,7 +29,7 @@
# set DEL=cmd /c del
#
# The above might be needed on Windows 2000 and XP.
# The macros are referenced in makefile.bc
# The macros are referenced in make_b32.mak
# ---------------------------------------------------------------
!ifndef ECHO

View File

@@ -150,7 +150,7 @@ if [ -z "$HB_ARCHITECTURE" ] || [ -z "$HB_COMPILER" ]; then
echo " - bcc16 (Borland C++ 3.x, 4.x, 5.0x, DOS 16-bit)"
echo " - djgpp (Delorie GNU C, DOS 32-bit)"
echo " - rsx32 (EMX/RSXNT/DOS GNU C, DOS 32-bit)"
echo " - watcom (Watcom C++ 9.x, 10.x, 11.x, DOS 32-bit)"
echo " - owatcom (Watcom C++ 9.x, 10.x, 11.x, DOS 32-bit)"
echo " - When HB_ARCHITECTURE=w32"
echo " - bcc32 (Borland C++ 4.x, 5.x, Windows 32-bit)"
echo " - gcc (Cygnus/Cygwin GNU C, Windows 32-bit)"

View File

@@ -91,6 +91,7 @@ case "$HB_ARCHITECTURE" in
[ -z "$HB_INSTALL_PREFIX" ] && HB_INSTALL_PREFIX="/usr/local"
HB_INSTALL_GROUP=wheel
ETC="/private/etc"
hb_lnkso="no"
;;
linux)
[ -z "$HB_INSTALL_PREFIX" ] && HB_INSTALL_PREFIX="/usr"