1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/graphics/view3ds/files/patch-configure

43 lines
1.3 KiB
Plaintext

$FreeBSD$
--- configure 2001/01/18 18:11:47 1.1
+++ configure 2001/01/18 18:15:35
@@ -2939,10 +2939,10 @@
echo "$ac_t""no" 1>&6
else
echo "$ac_t""yes" 1>&6
- qt_includes="$QTDIR/include"
+ qt_includes="$QTDIR/include/qt2"
qt_libraries="$QTDIR/lib"
qt_binaries="$QTDIR/bin"
- MOC="$qt_binaries/moc";
+ MOC="$qt_binaries/moc2";
UIC="$qt_binaries/uic";
fi
fi
@@ -3012,9 +3012,9 @@
saved_LIBS="$LIBS"
CPPFLAGS="$saved_CPPFLAGS -I$qt_includes"
if test -n "$qt_libraries"; then
- LIBS="$saved_LIBS -L$qt_libraries -lqt"
+ LIBS="$saved_LIBS -L$qt_libraries -lqtgl"
else
- LIBS="$saved_LIBS -lqt -lm $X11_LIBS"
+ LIBS="$saved_LIBS -lqtgl -lm $X11_LIBS"
fi
echo $ac_n "checking for QT includes ($qt_includes)""... $ac_c" 1>&6
echo "configure:3021: checking for QT includes ($qt_includes)" >&5
@@ -3086,9 +3086,9 @@
rm -f conftest*
if test "$qt_libraries_found" = "yes"; then
if test -n "$qt_libraries"; then
- QT_LIBS="-L$qt_libraries -lqt -lm $X11_LIBS";
+ QT_LIBS="-L$qt_libraries -lqtgl -lm $X11_LIBS";
else
- QT_LIBS="-lqt -lm $X11_LIBS";
+ QT_LIBS="-lqtgl -lm $X11_LIBS";
fi
echo "$ac_t""yes" 1>&6
else