OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 31-Jul-2003 17:24:22
Branch: HEAD Handle: 2003073116242001
Modified files:
openpkg-src/pth pth.spec
openpkg-web news.txt
Log:
Fix building under partly broken FreeBSD 5.1/alpha
Summary:
Revision Changes Path
1.26 +18 -1 openpkg-src/pth/pth.spec
1.5956 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pth/pth.spec
============================================================================
$ cvs diff -u -r1.25 -r1.26 pth.spec
--- openpkg-src/pth/pth.spec 24 Jul 2003 14:37:29 -0000 1.25
+++ openpkg-src/pth/pth.spec 31 Jul 2003 15:24:21 -0000 1.26
@@ -33,9 +33,10 @@
Group: System
License: GPL
Version: 2.0.0
-Release: 20030724
+Release: 20030731
# package options
+%option with_optimize no
%option with_pthread no
# list of sources
@@ -61,9 +62,23 @@
%setup -q
%build
+ touch config.cache
+ case "%{l_target}" in
+ alpha-freebsd5.[01] )
+ # FIXME: FreeBSD 5.0/5.1 makecontext(3) is broken on Alpha
+ ( echo "ac_cv_func_makecontext=no"
+ echo "ac_cv_func_getcontext=no"
+ echo "ac_cv_func_setcontext=no"
+ echo "ac_cv_func_swapcontext=no"
+ echo "ac_cv_stacksetup_makecontext=no"
+ echo "ac_cv_check_mcsc=no"
+ ) >config.cache
+ ;;
+ esac
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure \
+ --cache-file=./config.cache \
--prefix=%{l_prefix} \
--includedir="%{l_prefix}/include/pth" \
--libdir="%{l_prefix}/lib/pth" \
@@ -73,7 +88,9 @@
--disable-tests \
--enable-batch \
--enable-syscall-soft \
+%if "%{with_optimize}" == "yes"
--enable-optimize \
+%endif
--disable-shared
%{l_make} %{l_mflags}
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.5955 -r1.5956 news.txt
--- openpkg-web/news.txt 31 Jul 2003 14:15:22 -0000 1.5955
+++ openpkg-web/news.txt 31 Jul 2003 15:24:20 -0000 1.5956
@@ -1,3 +1,4 @@
+31-Jul-2003: Upgraded package: P<pth-2.0.0-20030731>
31-Jul-2003: Upgraded package: P<wml-2.0.9-1.20030731>
31-Jul-2003: Upgraded package: P<wml-2.0.9-20030731>
31-Jul-2003: Upgraded package: P<glib2-2.2.2-1.20030731>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]