pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

proj: Disable using system C99 math



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Mon Jan 13 12:26:27 2020 -0500
Changeset:	61000aa73d12fc3eb88676b51b48eb95f9954fa7

Modified Files:
	proj/Makefile

Log Message:
proj: Disable using system C99 math

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=61000aa73d12fc3eb88676b51b48eb95f9954fa7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 proj/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/proj/Makefile b/proj/Makefile
index 2bf081d9d8..08a406b5e4 100644
--- a/proj/Makefile
+++ b/proj/Makefile
@@ -33,6 +33,11 @@ USE_LIBTOOL=		yes
 USE_TOOLS+=		gmake pkg-config
 GNU_CONFIGURE=		yes
 
+# \todo Debug this.
+# Tests fail if proj relies on NetBSD 8's C99 math, vs proj's
+# replacement functions.
+CFLAGS+=		-DHAVE_C99_MATH=0
+
 .if !empty(PKG_OPTIONS:Mproj-grids)
 # Ideally, upstream would have an approach which enables testing with
 # the grids that users ought to have.  Until then, fail if test


Home | Main Index | Thread Index | Old Index