summaryrefslogtreecommitdiff
path: root/devel/lace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/lace/Makefile')
-rw-r--r--devel/lace/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/lace/Makefile b/devel/lace/Makefile
index d8bd430d5353..d9467c428a23 100644
--- a/devel/lace/Makefile
+++ b/devel/lace/Makefile
@@ -1,6 +1,7 @@
PORTNAME= lace
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.2
+PORTREVISION= 1
CATEGORIES= devel
PKGNAMESUFFIX= -work-stealing
@@ -8,12 +9,10 @@ MAINTAINER= yuri@FreeBSD.org
COMMENT= Implementation of work-stealing in C
WWW= https://github.com/trolando/lace
-BROKEN_i386= compilation fails: static assertion failed due to requirement '(sizeof(struct _Task) % 64) == 0': Task size should be a multiple of LINE_SIZE
-
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= compilation fails: static assertion failed due to requirement '(sizeof(struct _Task) % 64) == 0': Task size should be a multiple of LINE_SIZE
+BROKEN_i386= compilation fails: error: static assertion failed due to requirement '(sizeof(struct _lace_task) % 64) == 0': lace_task size should be a multiple of LACE_CACHE_LINE_SIZE
USES= cmake:testing
@@ -26,6 +25,10 @@ CMAKE_TESTING_ON= LACE_BUILD_TESTS
PORTSCOUT= limit:^.*[0-9]+\.[0-9]+\.[0-9]+$$ # prevent tags like mucocos_2014_ri
+pre-configure: # see discussion in https://github.com/trolando/lace/issues/16
+ @${REINPLACE_CMD} -e 's,memory_order_[[:alnum:]_]*,memory_order_seq_cst,g' \
+ ${WRKSRC}/src/*.[ch] ${WRKSRC}/src/lace.sh
+
# tests as of 2.0.2: 100% tests passed, 0 tests failed out of 2
.include <bsd.port.mk>