git: 1b232017e92e - main - math/lambda: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jul 2023 17:30:53 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1b232017e92e08c2fa8090a10c04e1d340a426d8
commit 1b232017e92e08c2fa8090a10c04e1d340a426d8
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 17:26:32 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 17:30:39 +0000
math/lambda: Fix build with llvm16
- Pet portclippy
- Adopt port
Sponsored by: The FreeBSD Foundation
---
math/lambda/Makefile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/math/lambda/Makefile b/math/lambda/Makefile
index d730bd6d2edf..778828c471bb 100644
--- a/math/lambda/Makefile
+++ b/math/lambda/Makefile
@@ -4,18 +4,19 @@ PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://uniquesoftwaredesigns.com/${PORTNAME}/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Lambda calculus interpreter
WWW= https://uniquesoftwaredesigns.com/lambda/docs/lambda.html
LICENSE= GPLv2
USES= perl5 ncurses readline shebangfix
+USE_CXXSTD= c++14
USE_PERL5= build
+
SHEBANG_FILES= docs/trans_xml_for_cat.pl
-GNU_CONFIGURE= yes
-OPTIONS_DEFINE= DOCS
+GNU_CONFIGURE= yes
PLIST_FILES= bin/lambda \
share/lambda/definitions \
@@ -24,6 +25,8 @@ PLIST_FILES= bin/lambda \
DOCS= lambda.html lambdamanual.html user_manual_style.css
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure \
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am