1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Allow to build with clang and libc++

This commit is contained in:
Baptiste Daroussin 2013-09-03 16:28:17 +00:00
parent bf675dbc54
commit 8cd2fbd90c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326170
2 changed files with 13 additions and 1 deletions

View File

@ -20,7 +20,7 @@ USES= cmake iconv
USE_LDCONFIG= yes
CMAKE_ARGS= -DBUILD_CONTRIBS_LIB=ON
CXXFLAGS+= -D__LONG_LONG_SUPPORTED
CXXFLAGS+= -D__LONG_LONG_SUPPORTED -D_WCHAR_H_CPLUSPLUS_98_CONFIRMANCE_
post-patch:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR_REL}|' \

View File

@ -0,0 +1,12 @@
--- src/shared/CLucene/LuceneThreads.h.orig 2011-03-17 01:21:07.000000000 +0100
+++ src/shared/CLucene/LuceneThreads.h 2013-09-03 18:25:01.380067076 +0200
@@ -7,6 +7,9 @@
#ifndef _LuceneThreads_h
#define _LuceneThreads_h
+#if defined(_CL_HAVE_PTHREAD)
+#include <pthread.h>
+#endif
CL_NS_DEF(util)
class CLuceneThreadIdCompare;