summaryrefslogtreecommitdiff
path: root/databases/virtuoso
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2007-11-26 17:45:55 +0000
committerAde Lovett <ade@FreeBSD.org>2007-11-26 17:45:55 +0000
commitccd0fca5ecd3b7a022136828951a9543e831e4c7 (patch)
tree23a432c7392200a0485824ed28d7f75e63b88721 /databases/virtuoso
parentFix build on FBSD 6 and 7. (diff)
Unbreak pthread-related issues on 5.x
Approved by: portmgr
Notes
Notes: svn path=/head/; revision=202839
Diffstat (limited to 'databases/virtuoso')
-rw-r--r--databases/virtuoso/Makefile4
-rw-r--r--databases/virtuoso/files/patch-libsrc-Thread-thread_int.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/databases/virtuoso/Makefile b/databases/virtuoso/Makefile
index dc08cfe28205..2e4e9e2edb45 100644
--- a/databases/virtuoso/Makefile
+++ b/databases/virtuoso/Makefile
@@ -62,10 +62,6 @@ BUILD_DEPENDS+= ${NETCAT}:${PORTSDIR}/net/netcat
CHECK_PORT= /usr/bin/nc -z localhost $$\1
.endif
-.if ${OSVERSION} < 600000
-BROKEN= Fails to compile: does not find pthread include file
-.endif
-
.if defined(WITH_IMAGEMAGICK)
CONFIGURE_ARGS+=--enable-imagemagick=${LOCALBASE}
LIB_DEPENDS+= Magick.10:${PORTSDIR}/graphics/ImageMagick
diff --git a/databases/virtuoso/files/patch-libsrc-Thread-thread_int.h b/databases/virtuoso/files/patch-libsrc-Thread-thread_int.h
new file mode 100644
index 000000000000..a6125468b640
--- /dev/null
+++ b/databases/virtuoso/files/patch-libsrc-Thread-thread_int.h
@@ -0,0 +1,6 @@
+--- libsrc/Thread/thread_int.h.orig Mon Jan 22 06:28:12 2007
++++ libsrc/Thread/thread_int.h Sun Nov 25 10:31:20 2007
+@@ -36,2 +36,3 @@
+ #include <assert.h>
++#include <pthread.h> /* For FreeBSD 5.x */
+ #define _THREAD_INT_HS