diff options
author | oliver <oliver@FreeBSD.org> | 2006-12-27 23:46:40 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2006-12-27 23:46:40 +0800 |
commit | 57b6ad4bb48a85b50bbcef01dd9deb8753ef2b13 (patch) | |
tree | 228e079225a9cd54800a99bdc371d5ee11fe73f9 /sysutils | |
parent | 7d3c1aa89b0ec0a00b143bfa56abb51992b0a984 (diff) | |
download | freebsd-ports-gnome-57b6ad4bb48a85b50bbcef01dd9deb8753ef2b13.tar.gz freebsd-ports-gnome-57b6ad4bb48a85b50bbcef01dd9deb8753ef2b13.tar.zst freebsd-ports-gnome-57b6ad4bb48a85b50bbcef01dd9deb8753ef2b13.zip |
only print the pthread warning on affected systems
PR: 107242
Approved by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/bacula-server/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index fa922386e940..1cb57e515588 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -176,11 +176,13 @@ MAN8=bacula.8 pre-everything:: .if !defined(WITH_CLIENT_ONLY) +.if ${OSVERSION} < 490101 || (${OSVERSION} >= 500000 && ${OSVERSION} < 502101) @${ECHO_MSG} "=======> ATTENTION <=======" @${ECHO_MSG} "===> Note that there is a pthreads problem, which leads to the loss of 500kB" @${ECHO_MSG} "===> of data at the end of an tape. This is corrected in newer versions of FreeBSD" @${ECHO_MSG} "===> READ ${WRKSRC}/platforms/freebsd/pthreads-fix.txt" @${ECHO_MSG} "" +.endif @${ECHO_MSG} "You may use the following build options (or make config):" @${ECHO_MSG} "" @${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want the file daemon." |