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 Date: 10-Feb-2004 18:26:03
Branch: HEAD Handle: 2004021017260300
Modified files:
openpkg-src/stunnel stunnel.spec
Log:
try to workaround problems with an evil hack
Summary:
Revision Changes Path
1.48 +8 -1 openpkg-src/stunnel/stunnel.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/stunnel/stunnel.spec
============================================================================
$ cvs diff -u -r1.47 -r1.48 stunnel.spec
--- openpkg-src/stunnel/stunnel.spec 7 Feb 2004 17:59:02 -0000 1.47
+++ openpkg-src/stunnel/stunnel.spec 10 Feb 2004 17:26:03 -0000 1.48
@@ -34,7 +34,7 @@
Group: Network
License: GPL
Version: 4.04
-Release: 20040207
+Release: 20040210
# package options
%option with_fsl yes
@@ -81,11 +81,18 @@
%patch -p1
%build
+ # FIXME: disable Pthread usage to workaround segfaults
+ # at configure time under at least FreeBSD 5.2
+ echo "ac_cv_header_pthread_h=no" >config.cache
+ %{l_shtool} subst \
+ -e 's;-lpthread;-lnotexisting;g' \
+ configure
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
LDFLAGS="%{l_fsl_ldflags}" \
LIBS="%{l_fsl_libs}" \
./configure \
+ --cache-file=./config.cache \
--prefix=%{l_prefix} \
--with-ssl=%{l_prefix} \
--disable-shared
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]