summaryrefslogtreecommitdiff
path: root/devel/expected/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/expected/Makefile')
-rw-r--r--devel/expected/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/expected/Makefile b/devel/expected/Makefile
index 7ba061123c07..52800649be20 100644
--- a/devel/expected/Makefile
+++ b/devel/expected/Makefile
@@ -1,6 +1,6 @@
PORTNAME= expected
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.0
+DISTVERSION= 1.2.0
CATEGORIES= devel science
MAINTAINER= yuri@FreeBSD.org
@@ -29,6 +29,11 @@ PLIST_FILES= include/tl/expected.hpp \
NO_ARCH= yes
-# tests as of 1.1.0: 100% tests passed, 0 tests failed out of 1
+post-install: # workaround for https://github.com/TartanLlama/expected/issues/173
+ @${REINPLACE_CMD} -i '' \
+ -e 's/1\.0\.0/${PORTVERSION}/' \
+ ${STAGEDIR}${PREFIX}/share/cmake/tl-expected/tl-expected-config-version.cmake
+
+# tests as of 1.2.0: 100% tests passed, 0 tests failed out of 1
.include <bsd.port.mk>