freebsd-ports/www/seamonkey2/files/patch-qt
Jeremy Lea 58e0c80c37 Add PSM support.
Submitted by:	nsayer

Remove use of libgcc_r, since it was so uncerimoniously removed.  If this
doesn't work on -stable, then -stable is broken, and someone needs to fix
it...

Submitted by:	Roman Shterenzon <roman@xpert.com>

Use sched_getpriority_max(), instead of hard coded value.

Submitted by:	Peter Haight <peterh@sapros.com>, dufault

Revise pkg-comment and pkg-descr.

PR:		24296
Submitted by:	roam

Enable SVG support, and disable C++ exceptions (since they will only slow
things down).
2001-01-22 01:23:18 +00:00

40 lines
1.1 KiB
Plaintext

--- configure.orig Sat Sep 30 23:16:14 2000
+++ configure Thu Dec 21 00:49:23 2000
@@ -5786,7 +5786,7 @@
echo $ac_n "checking for Qt insanity""... $ac_c" 1>&6
echo "configure:5788: checking for Qt insanity" >&5
- QT_CFLAGS="-I${QTDIR}/include/qt"
+ QT_CFLAGS="-I${QTDIR}/include/X11/qt"
QT_LIBS="-L/usr/X11R6/lib -L${QTDIR}/lib -lqt -lXext -lX11"
# Check whether --with-static-qt or --without-static-qt was given.
@@ -7702,6 +7702,9 @@
os2*)
LIBS=
;;
+freebsd*)
+ CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
+ ;;
esac
for ac_hdr in sys/byteorder.h compat.h getopt.h
do
@@ -8655,8 +8658,6 @@
if test $? -eq 0; then
if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
ac_cv_have_dash_pthread=yes
- CFLAGS="$CFLAGS -pthread"
- CXXFLAGS="$CXXFLAGS -pthread"
fi
fi
rm -f conftest*
@@ -8672,7 +8673,7 @@
EOF
if test "$ac_cv_have_dash_pthread" = "yes"; then
- _PTHREAD_LDFLAGS=""
+ _PTHREAD_LDFLAGS="-pthread"
else
_PTHREAD_LDFLAGS="-lc_r"
fi