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:
parent
bf675dbc54
commit
8cd2fbd90c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326170
@ -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}|' \
|
||||
|
12
textproc/clucene/files/patch-libc++
Normal file
12
textproc/clucene/files/patch-libc++
Normal 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;
|
Loading…
Reference in New Issue
Block a user