Index: head/net/b2bua/Makefile =================================================================== --- head/net/b2bua/Makefile (revision 74348) +++ head/net/b2bua/Makefile (revision 74349) @@ -1,49 +1,41 @@ # New ports collection makefile for: b2bua # Date created: 6 December 2002 # Whom: Maxim Sobolev # # $FreeBSD$ # PORTNAME= b2bua PORTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.vovida.org/downloads/b2bua/ MAINTAINER= sobomax@FreeBSD.org -LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ - lthread:${PORTSDIR}/devel/linuxthreads +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 USE_GMAKE= yes ALL_TARGET= b2bua -CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads \ - -I${LOCALBASE}/include/libxml2 \ +CFLAGS+= -I${LOCALBASE}/include/libxml2 \ -I${LOCALBASE}/include/libxml2/libxml \ -I${LOCALBASE}/include -Wno-deprecated -PTHREAD_LDFLAGS= -L${LOCALBASE}/lib -llthread -llgcc_r -MAKE_ENV= PTHREAD_LDFLAGS="${PTHREAD_LDFLAGS}" \ - PTHREAD_LIBNAME="" +MAKE_ENV= PTHREAD_LDFLAGS="${PTHREAD_LIBS}" \ + PTHREAD_LIBNAME="${PTHREAD_LIBNAME}" -.include - -.if ${OSVERSION} >= 500035 -PTHREAD_LDFLAGS+= -llstdc++ -llsupc++ -.endif - .if !exists(/usr/include/getopt.h) LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -PTHREAD_LDFLAGS+= -lgnugetopt +PTHREAD_LIBNAME+= gnugetopt .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sip/b2b/bin.nodebug.FreeBSD.i386/b2bua \ ${PREFIX}/bin ${MKDIR} ${DOCSDIR} .for file in README HOWTO b2bdesign.pdf Doc/B2BUA.pdf ${INSTALL_DATA} ${WRKSRC}/sip/b2b/${file} ${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/sip/b2b/b2bConfig.xml \ ${PREFIX}/etc/b2bConfig.xml.sample -.include +.include Property changes on: head/net/b2bua/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/net/b2bua/files/patch-util::threads::vthread-linux.cxx =================================================================== --- head/net/b2bua/files/patch-util::threads::vthread-linux.cxx (nonexistent) +++ head/net/b2bua/files/patch-util::threads::vthread-linux.cxx (revision 74349) @@ -0,0 +1,18 @@ + +$FreeBSD$ + +--- util/threads/vthread-linux.cxx 2003/01/31 09:50:14 1.1 ++++ util/threads/vthread-linux.cxx 2003/01/31 09:52:19 +@@ -191,6 +191,12 @@ + pthread_attr_setscope(&myAttributes, PTHREAD_SCOPE_SYSTEM); + #endif + ++#if defined (__FreeBSD__) ++ // Default FreeBSD thread stack size (64KB) is not sufficient for the ++ // b2bua bloatware ++ pthread_attr_setstacksize (&myAttributes, 1024*1024); ++#endif ++ + // spawn the thread + return ( pthread_create( &myId, &myAttributes, startFunc, startArgs ) ); + } Property changes on: head/net/b2bua/files/patch-util::threads::vthread-linux.cxx ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property