portability fixes for MacOS X

This commit is contained in:
Volker Grabsch 2009-02-03 21:48:46 +01:00
parent b43fe868d5
commit 1b6505c313
4 changed files with 6 additions and 4 deletions

View File

@ -21,7 +21,7 @@ define $(PKG)_BUILD
$(SED) 's,<target-os>windows : lib ;,<target-os>windows : a ;,' -i '$(1)/tools/build/v2/tools/types/lib.jam'
# compile boost jam
cd '$(1)/tools/jam/src' && ./build.sh
cd '$(1)' && tools/jam/src/bin.linuxx86/bjam \
cd '$(1)' && tools/jam/src/bin.*/bjam \
-j '$(JOBS)' \
--user-config=user-config.jam \
target-os=windows \

View File

@ -25,5 +25,5 @@ define $(PKG)_BUILD
--enable-threads \
LIBS='-lws2_32'
$(SED) 's,-fno-exceptions,,' -i '$(1)/makeinclude'
$(MAKE) -C '$(1)' -j '$(JOBS)' install DIRS=src
$(MAKE) -C '$(1)' -j '$(JOBS)' install DIRS=src LIBCOMMAND='$(TARGET)-ar cr'
endef

View File

@ -27,5 +27,6 @@ define $(PKG)_BUILD
--with-arch='$(TARGET)' \
--with-freetype-config='$(PREFIX)/$(TARGET)/bin/freetype-config' \
--with-expat='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef

View File

@ -21,5 +21,6 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef