aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2010-09-07 06:28:56 +0800
committeravilla <avilla@FreeBSD.org>2010-09-07 06:28:56 +0800
commit2488d7e7e4f067e63b02ccf06d407ae39ed6a284 (patch)
tree10b384b598baf452afda00a22d2fb018e0af4e68 /devel
parent0fcf94009758be5cd1b63b1a834d40dec0536621 (diff)
downloadfreebsd-ports-gnome-2488d7e7e4f067e63b02ccf06d407ae39ed6a284.tar.gz
freebsd-ports-gnome-2488d7e7e4f067e63b02ccf06d407ae39ed6a284.tar.zst
freebsd-ports-gnome-2488d7e7e4f067e63b02ccf06d407ae39ed6a284.zip
- Disable asserts by default as they break threading programs.
- Bump PORTREVISION. PR: ports/149746 Submitted by: avilla Approved by: brooks (maintainer), tabthorpe (mentor, implicit)
Diffstat (limited to 'devel')
-rw-r--r--devel/llvm/Makefile9
-rw-r--r--devel/llvm29/Makefile9
2 files changed, 10 insertions, 8 deletions
diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile
index 022404fc31b8..86cd9f070d22 100644
--- a/devel/llvm/Makefile
+++ b/devel/llvm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= llvm
PORTVERSION= 2.7
+PORTREVISION= 1
CATEGORIES= devel lang
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
EXTRACT_SUFX= .tgz
@@ -38,7 +39,7 @@ CONFIGURE_ARGS+= --enable-optimized
CONFIGURE_ARGS+= --enable-bindings=none
-OPTIONS= NO_ASSERTS "Disable assertions" off
+OPTIONS= ASSERTS "Enable assertions (thread unsafe)" off
.if defined(NOPORTDOCS)
DOCSRCDIR=
@@ -70,10 +71,10 @@ CONFIGURE_ARGS+= --enable-pic --with-pic
CONFIGURE_ARGS+= --with-optimize-option=-O2
.endif
-.ifdef(WITH_NO_ASSERTS)
-CONFIGURE_ARGS+= --disable-assertions
-.else
+.ifdef(WITH_ASSERTS)
CONFIGURE_ARGS+= --enable-assertions
+.else
+CONFIGURE_ARGS+= --disable-assertions
.endif
post-patch:
diff --git a/devel/llvm29/Makefile b/devel/llvm29/Makefile
index 022404fc31b8..86cd9f070d22 100644
--- a/devel/llvm29/Makefile
+++ b/devel/llvm29/Makefile
@@ -7,6 +7,7 @@
PORTNAME= llvm
PORTVERSION= 2.7
+PORTREVISION= 1
CATEGORIES= devel lang
MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
EXTRACT_SUFX= .tgz
@@ -38,7 +39,7 @@ CONFIGURE_ARGS+= --enable-optimized
CONFIGURE_ARGS+= --enable-bindings=none
-OPTIONS= NO_ASSERTS "Disable assertions" off
+OPTIONS= ASSERTS "Enable assertions (thread unsafe)" off
.if defined(NOPORTDOCS)
DOCSRCDIR=
@@ -70,10 +71,10 @@ CONFIGURE_ARGS+= --enable-pic --with-pic
CONFIGURE_ARGS+= --with-optimize-option=-O2
.endif
-.ifdef(WITH_NO_ASSERTS)
-CONFIGURE_ARGS+= --disable-assertions
-.else
+.ifdef(WITH_ASSERTS)
CONFIGURE_ARGS+= --enable-assertions
+.else
+CONFIGURE_ARGS+= --disable-assertions
.endif
post-patch: