summaryrefslogtreecommitdiff
path: root/devel/spdlog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/spdlog/Makefile')
-rw-r--r--devel/spdlog/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/spdlog/Makefile b/devel/spdlog/Makefile
index 8fdb9a0dc8f4..5c527c89b6a7 100644
--- a/devel/spdlog/Makefile
+++ b/devel/spdlog/Makefile
@@ -1,7 +1,7 @@
PORTNAME= spdlog
DISTVERSIONPREFIX= v
DISTVERSION= 1.15.2
-PORTREVISION= 0
+PORTREVISION= 3
CATEGORIES= devel
MAINTAINER= vanilla@FreeBSD.org
@@ -28,4 +28,8 @@ post-extract:
post-patch:
${RM} ${WRKSRC}/include/spdlog/fmt/*.h.orig
+post-stage:
+# let consumers know that this package was compiled with SPDLOG_FMT_EXTERNAL=yes
+ ${ECHO_CMD} '#define SPDLOG_FMT_EXTERNAL' >> ${STAGEDIR}${PREFIX}/include/spdlog/tweakme.h
+
.include <bsd.port.mk>