summaryrefslogtreecommitdiff
path: root/devel/apr1/files/patch-apr_hints.m4
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-11-05 22:42:43 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-11-05 22:42:43 +0000
commitfee29a8683f163cd8c30198a491484c85d4b5738 (patch)
tree2ded1fe76edf26bdc415dff3e6dbcebe1f3caaed /devel/apr1/files/patch-apr_hints.m4
parent- Add pkg-message (diff)
Add thread support to APR port.
Bump PORTREVISION PR: 58834 Submitted By: MAINTAINER
Notes
Notes: svn path=/head/; revision=93196
Diffstat (limited to 'devel/apr1/files/patch-apr_hints.m4')
-rw-r--r--devel/apr1/files/patch-apr_hints.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/apr1/files/patch-apr_hints.m4 b/devel/apr1/files/patch-apr_hints.m4
new file mode 100644
index 000000000000..4adc12fafe34
--- /dev/null
+++ b/devel/apr1/files/patch-apr_hints.m4
@@ -0,0 +1,12 @@
+--- apr-0.9.4/build/apr_hints.m4.orig Sun Nov 2 01:23:53 2003
++++ apr-0.9.4/build/apr_hints.m4 Sun Nov 2 01:24:44 2003
+@@ -135,9 +135,7 @@
+ APR_ADDTO(CFLAGS, [-funsigned-char])
+ ;;
+ esac
+- APR_SETIFNULL(enable_threads, [no])
+ APR_SETIFNULL(apr_lock_method, [USE_FLOCK_SERIALIZE])
+- APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE])
+ ;;
+ *-next-nextstep*)
+ APR_SETIFNULL(CFLAGS, [-O])