aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-04-05 22:08:24 +0800
committersobomax <sobomax@FreeBSD.org>2001-04-05 22:08:24 +0800
commitf8ba4a93297688fc4f87b9376e5d39b7e08556b2 (patch)
tree8f0eaec87a2f37c5048a2c69b7b5581aeff38d77 /graphics
parent9e4cbb1f923e9598d97d77f07cd795803d690e71 (diff)
downloadfreebsd-ports-gnome-f8ba4a93297688fc4f87b9376e5d39b7e08556b2.tar.gz
freebsd-ports-gnome-f8ba4a93297688fc4f87b9376e5d39b7e08556b2.tar.zst
freebsd-ports-gnome-f8ba4a93297688fc4f87b9376e5d39b7e08556b2.zip
Unbroke with threaded GL library (XFree86-4) and recent QT changes (qtgl).
Diffstat (limited to 'graphics')
-rw-r--r--graphics/view3ds/Makefile2
-rw-r--r--graphics/view3ds/files/patch-configure8
2 files changed, 5 insertions, 5 deletions
diff --git a/graphics/view3ds/Makefile b/graphics/view3ds/Makefile
index a6fb0436a6ea..d6bf3a8bb550 100644
--- a/graphics/view3ds/Makefile
+++ b/graphics/view3ds/Makefile
@@ -20,7 +20,7 @@ USE_QT_VER= 2
USE_MESA= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
-CONFIGURE_ENV= LDFLAGS="-lm" \
+CONFIGURE_ENV= LDFLAGS="-lm ${PTHREAD_LIBS}" \
QTDIR=${X11BASE}
.include <bsd.port.mk>
diff --git a/graphics/view3ds/files/patch-configure b/graphics/view3ds/files/patch-configure
index edf6efdf325a..c5f9e3c91854 100644
--- a/graphics/view3ds/files/patch-configure
+++ b/graphics/view3ds/files/patch-configure
@@ -21,10 +21,10 @@ $FreeBSD$
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 -lqt2"
++ LIBS="$saved_LIBS -L$qt_libraries -lqtgl"
else
- LIBS="$saved_LIBS -lqt -lm $X11_LIBS"
-+ LIBS="$saved_LIBS -lqt2 -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
@@ -33,10 +33,10 @@ $FreeBSD$
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 -lqt2 -lm $X11_LIBS";
++ QT_LIBS="-L$qt_libraries -lqtgl -lm $X11_LIBS";
else
- QT_LIBS="-lqt -lm $X11_LIBS";
-+ QT_LIBS="-lqt2 -lm $X11_LIBS";
++ QT_LIBS="-lqtgl -lm $X11_LIBS";
fi
echo "$ac_t""yes" 1>&6
else