FreeBSD Bugzilla – Attachment 47606 Details for
Bug 72916
textproc/xerces-c: fix PTHREAD_* handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
xerces-c.patch
xerces-c.patch (text/plain), 1.57 KB, created by
Simon Barner
on 2004-10-20 11:50:21 UTC
(
hide
)
Description:
xerces-c.patch
Filename:
MIME Type:
Creator:
Simon Barner
Created:
2004-10-20 11:50:21 UTC
Size:
1.57 KB
patch
obsolete
>diff -ruN xerces-c.orig/Makefile xerces-c/Makefile >--- xerces-c.orig/Makefile Tue Feb 17 10:57:41 2004 >+++ xerces-c/Makefile Wed Oct 20 12:31:26 2004 >@@ -30,7 +30,9 @@ > > HAS_CONFIGURE= yes > CONFIGURE_SCRIPT= runConfigure >-CONFIGURE_ENV+= XERCESCROOT=${WRKSRC} TRANSCODER="IconvFBSD" >+CONFIGURE_ENV+= XERCESCROOT=${WRKSRC} TRANSCODER="IconvFBSD" \ >+ PTHREAD_LIBS="${PTHREAD_LIBS}" \ >+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" > CONFIGURE_ARGS= -p freebsd -n socket -P ${PREFIX} > .if defined(NO_THREADS) > CONFIGURE_ARGS+= -r none >@@ -39,10 +41,6 @@ > PLIST_SUB+= XERCESC_VER=${PORTVERSION:S/./_/g} \ > > .include <bsd.port.pre.mk> >- >-.if ${OSVERSION} >= 502102 >-FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}" >-.endif > > pre-configure: > ${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure >diff -ruN xerces-c.orig/files/patch-src::xercesc::runConfigure xerces-c/files/patch-src::xercesc::runConfigure >--- xerces-c.orig/files/patch-src::xercesc::runConfigure Thu Jan 1 01:00:00 1970 >+++ xerces-c/files/patch-src::xercesc::runConfigure Wed Oct 20 12:27:08 2004 >@@ -0,0 +1,13 @@ >+--- src/xercesc/runConfigure.orig Wed Oct 20 12:25:47 2004 >++++ src/xercesc/runConfigure Wed Oct 20 12:26:33 2004 >+@@ -294,8 +294,8 @@ >+ ;; >+ esac >+ elif test $platform = "freebsd"; then >+- threadingLibs="-pthread -lc_r" >+- threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS" >++ threadingLibs="${PTHREAD_LIBS}" >++ threadingDefines="${PTHREAD_CFLAGS} -DXML_USE_PTHREADS" >+ elif test $platform = "aix"; then >+ aix_version=`./config.guess`; >+ echo Found host system to be $aix_version
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 72916
: 47606