diff options
Diffstat (limited to 'devel/apr1')
-rw-r--r-- | devel/apr1/Makefile | 2 | ||||
-rw-r--r-- | devel/apr1/files/patch-apr_hints.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile index 32fa63fa338d..4a3eec34f48f 100644 --- a/devel/apr1/Makefile +++ b/devel/apr1/Makefile @@ -14,7 +14,7 @@ PORTNAME= apr PORTVERSION= 0.9.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://www.apache.org/dist/apr/ DISTFILES= apr-${PORTVERSION}.tar.gz apr-util-${PORTVERSION}.tar.gz diff --git a/devel/apr1/files/patch-apr_hints.m4 b/devel/apr1/files/patch-apr_hints.m4 index 7c8f8547efff..9e01ac75f936 100644 --- a/devel/apr1/files/patch-apr_hints.m4 +++ b/devel/apr1/files/patch-apr_hints.m4 @@ -16,7 +16,7 @@ - APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE]) + if test $os_version -lt "500016"; then + ac_cv_pthreads_cflags="-D_THREAD_SAFE -D_REENTRANT" -+ APR_ADDTO(LIBS, [-pthread]) ++ LIBS="$LIBS -pthread" + else + ac_cv_pthreads_lib="c_r" + fi |