pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/nickle
Module Name: pkgsrc
Committed By: jperkin
Date: Mon Jul 21 09:39:12 UTC 2025
Modified Files:
pkgsrc/math/nickle: Makefile
Log Message:
nickle: Fix build on SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/math/nickle/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/nickle/Makefile
diff -u pkgsrc/math/nickle/Makefile:1.37 pkgsrc/math/nickle/Makefile:1.38
--- pkgsrc/math/nickle/Makefile:1.37 Fri Jun 20 14:09:49 2025
+++ pkgsrc/math/nickle/Makefile Mon Jul 21 09:39:12 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2025/06/20 14:09:49 nia Exp $
+# $NetBSD: Makefile,v 1.38 2025/07/21 09:39:12 jperkin Exp $
DISTNAME= nickle-2.103
CATEGORIES= math lang
@@ -17,8 +17,13 @@ REPLACE_SH+= bench/runbench.sh
USE_TOOLS+= pkg-config
USE_TOOLS+= bison flex
+LDFLAGS.SunOS+= -lsocket -lnsl
+
+.include "../../mk/bsd.prefs.mk"
+
# Tests have a tool dependency on bc; meson insists on checking for it.
-.if !exists(/usr/bin/bc)
+# Also avoid native bc on illumos due to https://www.illumos.org/issues/17511
+.if !exists(/usr/bin/bc) || ${OPSYS} == "SunOS"
TOOL_DEPENDS+= bc-[0-9]*:../../math/bc
.endif
Home |
Main Index |
Thread Index |
Old Index