pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/bc
Module Name: pkgsrc
Committed By: tnn
Date: Sun Apr 12 17:15:20 UTC 2026
Modified Files:
pkgsrc/math/bc: Makefile
Log Message:
bc: fix libedit detection
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/math/bc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/bc/Makefile
diff -u pkgsrc/math/bc/Makefile:1.18 pkgsrc/math/bc/Makefile:1.19
--- pkgsrc/math/bc/Makefile:1.18 Wed Jul 2 02:59:05 2025
+++ pkgsrc/math/bc/Makefile Sun Apr 12 17:15:20 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2025/07/02 02:59:05 markd Exp $
+# $NetBSD: Makefile,v 1.19 2026/04/12 17:15:20 tnn Exp $
DISTNAME= bc-1.08.2
CATEGORIES= math
@@ -7,6 +7,7 @@ MASTER_SITES= ${MASTER_SITE_GNU:=bc/}
MAINTAINER= reed%reedmedia.net@localhost
HOMEPAGE= https://www.gnu.org/software/bc/bc.html
COMMENT= Arbitrary precision calculator language
+LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-readline
@@ -14,6 +15,11 @@ INFO_FILES= yes
.include "../../mk/readline.buildlink3.mk"
.if ${READLINE_TYPE} == "readline"
-USE_TOOLS+= flex:run
+CONFIGURE_ARGS+= --with-readline
+CONFIGURE_ARGS+= --without-libedit
+USE_TOOLS+= flex:run
+.elif ${READLINE_TYPE} == "editline"
+CONFIGURE_ARGS+= --with-libedit
+CONFIGURE_ARGS+= --without-readline
.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index