diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-26 11:34:58 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-26 12:16:00 +0000 |
commit | 1e750acf0e47ff8940c8605d20033da24a2b1876 (patch) | |
tree | 72bae20d55e3f652524c82569b9e7a66d97e6475 | |
parent | 5222c671899070ce4b630b7e8d5df93561f82b31 (diff) | |
download | ports-1e750acf0e47ff8940c8605d20033da24a2b1876.tar.gz ports-1e750acf0e47ff8940c8605d20033da24a2b1876.zip |
math/alps: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | math/alps/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/math/alps/Makefile b/math/alps/Makefile index 804c259b4537..162cd959d8f0 100644 --- a/math/alps/Makefile +++ b/math/alps/Makefile @@ -26,6 +26,14 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +.include <bsd.port.options.mk> + +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ + ${WRKSRC}/Alps/src/AlpsHelperFunctions.h +.endif + post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share |