Subject: CVS commit: pkgsrc/math
To: None <>
From: Johnny C. Lam <>
List: pkgsrc-changes
Date: 06/22/2006 18:52:01
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Jun 22 18:52:01 UTC 2006

Modified Files:
	pkgsrc/math/qalculate: distinfo
	pkgsrc/math/qalculate-bases: distinfo
	pkgsrc/math/qalculate-currency: distinfo
	pkgsrc/math/qalculate-gtk: distinfo
	pkgsrc/math/qalculate-units: distinfo
	pkgsrc/math/qalculate/patches: patch-ab
Added Files:
	pkgsrc/math/qalculate-bases/patches: patch-aa patch-ab
	pkgsrc/math/qalculate-currency/patches: patch-aa patch-ab
	pkgsrc/math/qalculate-gtk/patches: patch-ab patch-ac
	pkgsrc/math/qalculate-units/patches: patch-aa patch-ab
	pkgsrc/math/qalculate/patches: patch-ad

Log Message:
Reorder the linker tests in the configure script so that we test for
C libraries *before* we throw the AC_LANG([C++]) switch.  This makes
the generated configure script use the C compiler/linker instead of
the C++ compiler/linker when running tests.  This avoids errors like
these based on not correctly getting the function signature correct: error: nonnull argument with out-of-range operand
	number (arg 1, operand 2)

This error was causing the configure script to not detect *gettext()
routines and not building and installing the *.mo files.  This fixes
the error noted in the bulk build results:

To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 pkgsrc/math/qalculate/distinfo
cvs rdiff -r1.4 -r1.5 pkgsrc/math/qalculate-bases/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/math/qalculate-bases/patches/patch-aa \
cvs rdiff -r1.4 -r1.5 pkgsrc/math/qalculate-currency/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/math/qalculate-currency/patches/patch-aa \
cvs rdiff -r1.6 -r1.7 pkgsrc/math/qalculate-gtk/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/math/qalculate-gtk/patches/patch-ab \
cvs rdiff -r1.4 -r1.5 pkgsrc/math/qalculate-units/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/math/qalculate-units/patches/patch-aa \
cvs rdiff -r1.7 -r1.8 pkgsrc/math/qalculate/patches/patch-ab
cvs rdiff -r0 -r1.1 pkgsrc/math/qalculate/patches/patch-ad

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