ports/www/seamonkey2/files/patch-qt
Jeremy Lea f1d8527992 Update to 0.8. No major changes in the port, only regenerated patches.
patch-ao was merged in a slightly different form.
2001-02-16 17:29:24 +00:00

39 lines
1.1 KiB
Text

--- configure.orig Sat Sep 30 23:16:14 2000
+++ configure Thu Dec 21 00:49:23 2000
@@ -6020,7 +6020,7 @@
echo $ac_n "checking for Qt insanity""... $ac_c" 1>&6
echo "configure:6022: 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.
@@ -8052,6 +8052,9 @@
os2*)
LIBS=
;;
+freebsd*)
+ CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
+ ;;
esac
for ac_hdr in sys/byteorder.h compat.h getopt.h
do
@@ -8702,8 +8705,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*
@@ -8737,7 +8738,7 @@
EOF
if test "$ac_cv_have_dash_pthread" = "yes"; then
- _PTHREAD_LDFLAGS=""
+ _PTHREAD_LDFLAGS="-pthread"
else
_PTHREAD_LDFLAGS="-lc_r"
fi