2009-10-06 21:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/harbour-win-spec
  * harbour/harbour-wce-spec
    - commented out HB_BUILD_PARTS=compiler as workaround for using
      postinst.prg
    % use -undef:.ARCH.
This commit is contained in:
Przemyslaw Czerpak
2009-10-06 19:14:36 +00:00
parent ff92e5fb98
commit a4b39cada1
3 changed files with 17 additions and 6 deletions

View File

@@ -17,6 +17,13 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-10-06 21:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-win-spec
* harbour/harbour-wce-spec
- commented out HB_BUILD_PARTS=compiler as workaround for using
postinst.prg
% use -undef:.ARCH.
2009-10-06 18:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
- Deleted sudo from one pkg creation command.

View File

@@ -86,17 +86,19 @@ rm -fR $RPM_BUILD_ROOT
%build
export HB_BUILD_PARTS=compiler
#export HB_BUILD_PARTS=compiler
export HB_CONTRIBLIBS=no
export HB_PLATFORM=linux
export HB_COMPILER=gcc
make %{?_smp_mflags}
unset HB_COMPILER
unset HB_CONTRIBLIBS
export HB_BUILD_PARTS=lib
export HB_PLATFORM=wce
export HB_BIN_COMPILE="$(pwd)/bin/linux/gcc"
export CC_HB_USER_PRGFLAGS="-D__PLATFORM__WINCE -D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__LINUX"
export CC_HB_USER_PRGFLAGS="-undef:.ARCH. -D__PLATFORM__WINDOWS -D__PLATFORM__WINCE"
make %{?_smp_mflags}
@@ -114,7 +116,7 @@ unset HB_COMPILER
export HB_BIN_COMPILE="$(pwd)/bin/linux/gcc"
export CC_HB_USER_PRGFLAGS="-D__PLATFORM__WINCE -D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__LINUX"
export CC_HB_USER_PRGFLAGS="-undef:.ARCH. -D__PLATFORM__WINDOWS -D__PLATFORM__WINCE"
export HB_BIN_INSTALL=%{_bindir}
export HB_INC_INSTALL=%{_includedir}/%{name}

View File

@@ -86,17 +86,19 @@ rm -fR $RPM_BUILD_ROOT
%build
export HB_BUILD_PARTS=compiler
#export HB_BUILD_PARTS=compiler
export HB_CONTRIBLIBS=no
export HB_PLATFORM=linux
export HB_COMPILER=gcc
make %{?_smp_mflags}
unset HB_COMPILER
unset HB_CONTRIBLIBS
export HB_BUILD_PARTS=lib
export HB_PLATFORM=win
export HB_BIN_COMPILE="$(pwd)/bin/linux/gcc"
export CC_HB_USER_PRGFLAGS="-D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__LINUX"
export CC_HB_USER_PRGFLAGS="-undef:.ARCH. -D__PLATFORM__WINDOWS"
make %{?_smp_mflags}
@@ -114,7 +116,7 @@ unset HB_COMPILER
export HB_BIN_COMPILE="$(pwd)/bin/linux/gcc"
export CC_HB_USER_PRGFLAGS="-D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__LINUX"
export CC_HB_USER_PRGFLAGS="-undef:.ARCH. -D__PLATFORM__WINDOWS"
export HB_BIN_INSTALL=%{_bindir}
export HB_INC_INSTALL=%{_includedir}/%{name}