Thu Apr 20 10:10:09 2023 UTC ()
nickle: force pkgsrc readline on macOS

The configure tests are bungled and nickle tries to use
non-existent symbols with the built-in readline:

Undefined symbols for architecture arm64:
  "_rl_echo_signal_char", referenced from:
      _stop in main.o
  "_rl_reset_after_signal", referenced from:
      _stop in main.o


(tnn)
diff -r1.21 -r1.22 pkgsrc/math/nickle/Makefile

cvs diff -r1.21 -r1.22 pkgsrc/math/nickle/Makefile (expand / switch to unified diff)

--- pkgsrc/math/nickle/Makefile 2023/04/18 21:31:08 1.21
+++ pkgsrc/math/nickle/Makefile 2023/04/20 10:10:09 1.22
@@ -1,20 +1,26 @@ @@ -1,20 +1,26 @@
1# $NetBSD: Makefile,v 1.21 2023/04/18 21:31:08 wiz Exp $ 1 $NetBSD: Makefile,v 1.22 2023/04/20 10:10:09 tnn Exp $
2 2
3DISTNAME= nickle-2.91 3DISTNAME= nickle-2.91
4CATEGORIES= math lang 4CATEGORIES= math lang
5MASTER_SITES= http://nickle.org/release/ 5MASTER_SITES= http://nickle.org/release/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://nickle.org/ 8HOMEPAGE= https://nickle.org/
9COMMENT= Desk calculator language 9COMMENT= Desk calculator language
10LICENSE= mit 10LICENSE= mit
11 11
12GNU_CONFIGURE= yes 12GNU_CONFIGURE= yes
13 13
14# suppress detection of DOCBOOK 14# suppress detection of DOCBOOK
15CONFIGURE_ENV+= ac_cv_path_DOCBOOK2PDF= 15CONFIGURE_ENV+= ac_cv_path_DOCBOOK2PDF=
16 16
17TEST_TARGET= check 17TEST_TARGET= check
18 18
 19.include "../../mk/bsd.prefs.mk"
 20
 21.if ${OPSYS} == "Darwin"
 22.include "../../devel/readline/buildlink3.mk"
 23.else
19.include "../../mk/readline.buildlink3.mk" 24.include "../../mk/readline.buildlink3.mk"
 25.endif
20.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"