pkgsrc/www/phoenix/patches/patch-ab

48 lines
1 KiB
Text
Raw Normal View History

$NetBSD: patch-ab,v 1.3 2003/04/27 09:49:05 grant Exp $
--- configure.in.orig 7 Mar 2003 21:25:31 -0000
+++ configure.in 15 Apr 2003 14:53:02 -0000
@@ -859,6 +859,9 @@
# MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive'
# MKSHLIB_UNFORCE_ALL=''
# fi
+ if test "$LIBRUNPATH"; then
+ DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS"
+ fi
;;
*-hpux*)
@@ -1134,6 +1137,13 @@
if test "$LIBRUNPATH"; then
DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS"
fi
+
+ case "${target_cpu}" in
+ alpha*)
+ CFLAGS="$CFLAGS -mieee"
+ CXXFLAGS="$CXXFLAGS -mieee"
+ ;;
+ esac
;;
*-nto*)
@@ -1493,7 +1503,7 @@
[siginfo_t* info;],
[ac_cv_siginfo_t=true],
[ac_cv_siginfo_t=false])])
-if test "$ac_cv_siginfo_t" = true ; then
+if test "$OS_TARGET" != "NetBSD" -a "$ac_cv_siginfo_t" = true ; then
AC_DEFINE(HAVE_SIGINFO_T)
AC_MSG_RESULT(yes)
else
@@ -2037,9 +2047,6 @@
CXXFLAGS="$CXXFLAGS -mt"
fi
;;
- *-*-netbsd*)
- USE_PTHREADS=
- _PTHREAD_LDFLAGS=
esac
fi