diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-12-09 21:15:48 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-12-09 21:15:48 +0000 |
commit | 8c8003f956fd10987e6d6eb29e5b439a2197f863 (patch) | |
tree | 7f06c1c60b0d74d7029848155063ddefe80b8331 /devel/apr | |
parent | 0c6c6e9cd7eccec2346ec979850b723ab4675c4f (diff) | |
download | ports-8c8003f956fd10987e6d6eb29e5b439a2197f863.tar.gz ports-8c8003f956fd10987e6d6eb29e5b439a2197f863.zip |
Only compile apr-svn without threads on FreeBSD versions less than 5.
Notes
Notes:
svn path=/head/; revision=150763
Diffstat (limited to 'devel/apr')
-rw-r--r-- | devel/apr/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile index bb91b0db18d9..d1fd48777dfd 100644 --- a/devel/apr/Makefile +++ b/devel/apr/Makefile @@ -43,6 +43,10 @@ APR_UTIL_CONF_ARGS= --with-apr=../apr-${PORTVERSION} \ .include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 && defined(APR_SVN_WITHOUT_THREADS_4) +APR_UTIL_WITHOUT_THREADS= yes +.endif + .if defined(APR_UTIL_WITHOUT_THREADS) CONFIGURE_ARGS+= --disable-threads APR_UTIL_CONF_ARGS+= --disable-threads |