aboutsummaryrefslogtreecommitdiff
path: root/devel/llvm-devel/Makefile
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2017-12-19 00:32:00 +0000
committerBrooks Davis <brooks@FreeBSD.org>2017-12-19 00:32:00 +0000
commiteec20adbcea745c819d3ad3ee0a5e01122e34db9 (patch)
tree7d648885a5bf9f0586612fef0682f7c9b1176de7 /devel/llvm-devel/Makefile
parent97f90d255ee179f84ca577431ee8d58cee7d0591 (diff)
downloadports-eec20adbcea745c819d3ad3ee0a5e01122e34db9.tar.gz
ports-eec20adbcea745c819d3ad3ee0a5e01122e34db9.zip
Notes
Diffstat (limited to 'devel/llvm-devel/Makefile')
-rw-r--r--devel/llvm-devel/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index 3369ffd1ea5c..9e5253fd149d 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= llvm
PORTVERSION= ${LLVM_MAJOR}.d${SNAPDATE}
+PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -devel
@@ -52,7 +53,7 @@ OPTIONS_DEFINE_i386= COMPILER_RT
OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB
OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP
OPTIONS_DEFAULT_i386= COMPILER_RT
-OPTIONS_EXCLUDE_FreeBSD_10= LLDB
+OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPENMP
OPTIONS_SUB= yes
PLIST_FILES=
@@ -280,6 +281,10 @@ MAN1SRCS+= bugpoint.1 dsymutil.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \
.include <bsd.port.pre.mk>
+.if ${OPSYS} == FreeBSD && ${OSREL} == 10.3
+CFLAGS+= -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1
+.endif
+
.if defined(WITH_DEBUG)
CMAKE_BUILD_TYPE= RelWithDebInfo
STRIP=