comparison src/guile.mk @ 937:2d9d50ec94e2

don't use "struct timespec" from <pthreads.h> in package guile
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 03 May 2010 11:55:19 +0200
parents 9993be51f18d
children 9c1cb932b77a
comparison
equal deleted inserted replaced
936:c77bf2dc2445 937:2d9d50ec94e2
18 $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^< ]*\)\.<.*,\1,p' | \ 18 $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^< ]*\)\.<.*,\1,p' | \
19 head -1 19 head -1
20 endef 20 endef
21 21
22 define $(PKG)_BUILD 22 define $(PKG)_BUILD
23 # The setting "scm_cv_struct_timespec=no" ensures that Guile
24 # won't try to use the "struct timespec" from <pthreads.h>,
25 # which would fail because we tell Guile not to use Pthreads.
23 cd '$(1)' && ./configure \ 26 cd '$(1)' && ./configure \
24 --host='$(TARGET)' \ 27 --host='$(TARGET)' \
25 --prefix='$(PREFIX)/$(TARGET)' \ 28 --prefix='$(PREFIX)/$(TARGET)' \
26 --disable-shared \ 29 --disable-shared \
27 --without-threads \ 30 --without-threads \
31 scm_cv_struct_timespec=no \
28 LIBS='-lunistring -lintl -liconv' 32 LIBS='-lunistring -lintl -liconv'
29 $(MAKE) -C '$(1)' -j '$(JOBS)' schemelib_DATA= 33 $(MAKE) -C '$(1)' -j '$(JOBS)' schemelib_DATA=
30 $(MAKE) -C '$(1)' -j 1 install schemelib_DATA= 34 $(MAKE) -C '$(1)' -j 1 install schemelib_DATA=
31 35
32 '$(TARGET)-gcc' \ 36 '$(TARGET)-gcc' \