pkgsrc/math/qalculate-kde/patches/patch-ab
adam d8cb11d3ee Changes 0.9.5:
* French translation (not fully complete yet)
* Return value in save() and add "name := value" as shortcut
* Integer factorization
* Interpret 0x[0-9,a-f] as hexadecimal number (do not require first digit to be 0-9)
* Add "Engineering" display mode
* Several fixes to display of units and prefixes
* Show value for variables without title in expression completion
* New functions: cross(), heaviside(), rectangular(), triangular(), ramp() kronecker(), sigmoid(), and logit()
* Use radius as argument for circumference()
* Add optional upper and lower limit arguments to integrate() for definite integrals
* Fix precision in logn()
* Ability to set shortcuts for meta modes (KDE)
* Make separate options for "Sort Minus Last" and "Negative Exponents" in numerical display menu
* Add "Edit Expression", "Edit Result", and "Insert Result Variable" to history context menu (KDE)
* Global shortcut for show/hide (KDE)
* Use localized comma for insert matrix/vector
* Remove use of libgnomeui completely and add --with-libgnome configure option
* Fix parsing of "x!)!"
* Use Julian year for light-year value
* Add several accelerator keys (GTK+)
* Connect "Exp" button Exp RPN operation and add Ctrl+Shift+E shortcut
* Fixes for old KDE and Qt versions
* New command line options for qalc: -terse (-t), -nodefs (-n), -nocurrencies, -nodatasets, -nofunctions, -nounits, -novariables
2007-02-20 15:08:47 +00:00

56 lines
2 KiB
Text

$NetBSD: patch-ab,v 1.2 2007/02/20 15:08:49 adam Exp $
--- configure.orig 2006-12-17 11:57:46.000000000 +0100
+++ configure
@@ -29327,13 +29327,13 @@ fi
fi
if test -z "$LIBPTHREAD"; then
- { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+ { echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
+echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -29389,7 +29389,7 @@ fi
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
if test $ac_cv_lib_pthread_pthread_create = yes; then
- LIBPTHREAD="-lpthread"
+ LIBPTHREAD="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
fi
fi
@@ -33213,13 +33213,13 @@ _ACEOF
-{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
+echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -33275,7 +33275,7 @@ fi
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
if test $ac_cv_lib_pthread_pthread_create = yes; then
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
fi